This is a fork of django-ldap-groups that adds python 3 support, 1.7 migrationsm optional django-constance settings, and bug fixes. It is currently used in production but could always use additional testing especially in python 3.
pip install django-ldap-groups-bsc
LDAP_URLFull url of the ldap server. Exampleldap://example.com:389LDAP_NT4_DOMAINLDAP_BIND_USERLDAP_BIND_PASSWORDLDAP_SEARCH_DNLDAP_USE_CONSTANCEDefaults toFalse. Used for admin user selectable settings
Some uses cases merit storing settings that privileged users edit on the fly. This uses django-constance to achieve this. It also makes it possible to use with django-tenant-schemas when using the constance database backend.
- Install django-constance
- Set
LDAP_USE_CONSTANCE = True - Add these to your
CONSTANCE_CONFIGsettings.
'LDAP_URL': ('', 'Ex: ldap://admin.example.com:389'),
'LDAP_NT4_DOMAIN': ('', 'Ex: ADMIN'),
'LDAP_BIND_USER': ('', 'Ex: ldap_user'),
'LDAP_BIND_PASSWORD': ('', 'Bind user\'s password'),
'LDAP_SEARCH_DN': ('', 'DC=admin,DC=example,DC=com'),
- Add unit tests
- Test python 3 support