Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

GUILLOTINA_LDAP

LDAP Auth backend for Guillotina.

Configuration

Add this to your Guillotina config file:

...
"applications": ["guillotina_ldap"],
"ldap": {
    "host": "ldap://myldap.example.com",
    "tls": true,
    "attribute_users": "uid",
    "objecttype": "inetOrgPerson",
    "managerdn": "CM=MANAGER,DC=DOMAIN,DC=ORG",
    "managerpwd": "secret",
    "usersdn": "OU=USERS,DC=DOMAIN,DC=ORG",
    "managers": ["bob"]
}

Development and testing

Requires Python 3.10 or newer (CI runs 3.10, 3.11 and 3.12). Docker is needed for the OpenLDAP test fixture.

python3 -m venv .
./bin/pip install -e ".[test]"
./bin/pip install pre-commit
./bin/pre-commit install
./bin/pytest --capture=no --tb=native -v guillotina_ldap

Formatting is enforced by pre-commit (black, isort, flake8) on every commit, and by GitHub Actions on push. To run the checks manually:

pre-commit run --all-files

CHANGELOG

1.0.0a13 (2026-09-17)

  • Accept Guillotina old_password keyword on LDAP user set_password. [rboixaderg]

  • Add GitHub Actions CI and pre-commit (black, isort, flake8) on Python 3.10–3.12. [rboixaderg]

  • Pin test extras to the Guillotina 7.x stack and fix registration tests for duplicate users. [rboixaderg]

1.0.0a12 (2025-09-23)

  • Getting result from self.attribute_users in the validate users. [nilbacardit26]

1.0.0a11 (2021-01-15)

  • Fixing Cache bug [bloodbare]

1.0.0a10 (2021-01-15)

  • Allow testing import. [bloodbare]

1.0.0a9 (2020-11-27)

  • Fixing bug on upgrade. [bloodbare]

1.0.0a8 (2020-11-27)

  • Support for Name storage. [bloodbare]

1.0.0a7 (2020-11-24)

  • Fixing reset password API. [bloodbare]

1.0.0a6 (2020-11-18)

  • Fixing login LDAP search API. [bloodbare]

1.0.0a5 (2020-11-18)

  • Allowing settings password on 2nd phase [bloodbare]

1.0.0a4 (2020-11-16)

  • Fix LDAP Auth. [bloodbare]

1.0.0a3 (2020-11-15)

  • Fix LDAP Search. [bloodbare]

1.0.0a2 (2020-11-11)

  • Nothing changed yet.

1.0.0a1 (2020-11-08)

  • Initial commit [bloodbare]

Metadata

Release files for guillotina-ldap 1.0.0a13

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for guillotina-ldap 1.0.0a13
File Size Uploaded
guillotina_ldap-1.0.0a13.tar.gz 10.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for guillotina-ldap 1.0.0a13
File Interpreter ABI Platform
guillotina_ldap-1.0.0a13-py3-none-any.whl Python 3 none any Details

Total release size: 22.1 kB

Release files / guillotina_ldap-1.0.0a13.tar.gz

Download URL guillotina_ldap-1.0.0a13.tar.gz
Size 10.3 kB
Tags Source
SHA-256 checksum
How to use checksums
7c45b4d4f1e7643b583a8db5fb657af9c65c069f4ac1e16d0f68e9a368c2fb5f
BLAKE2b-256 checksum
How to use checksums
67a289e0ab5c17a63df97e8bf4d147d24043f217057e9a84ab96a0f97f83817d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.13

Release files / guillotina_ldap-1.0.0a13-py3-none-any.whl

Download URL guillotina_ldap-1.0.0a13-py3-none-any.whl
Size 11.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
cfe8fdba3215783b1e6388b78a210d9a375066d6956a688ba703011d6cecd4d5
BLAKE2b-256 checksum
How to use checksums
3aebd3db39afca69235c86a74e636623ceeef738203c86e815ce26c4978e6b7c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.9.13
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page