LDAP Auth backend for guillotina.
Example config.json entry:
...
"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"]
}
Using pip (requires Python > 3.7):
python3.7 -m venv .
./bin/pip install -e .[test]
pre-commit install