Commit graph

8 commits

Author SHA1 Message Date
Jan Dittberner 427fdd9c03 Fix compatibility with Django 2.2 and other dependencies
- drop mockldap in favour of volatildap
- fix URLs and settings
- fix tests
2020-03-02 15:40:08 +01:00
Jan Dittberner 54875619aa Mark LDAP field names as byte strings
The django-ldapdb code cannot handle unicode field names with real LDAP
directories. This commit marks the field names of LDAP entities as byte
strings.
2016-02-07 22:40:19 +01:00
Jan Dittberner 4b060c51f4 Add unit tests
This commit adds test coverage for gvaldap and ldapentities and starts
to provide coverage for ldaptasks using mockldap.
2016-02-01 00:55:59 +00:00
Jan Dittberner 287756f160 make ldap group members field editable 2014-12-25 22:31:05 +01:00
Jan Dittberner 1466d3c93a add docstrings for ldapentities app 2014-05-31 14:29:21 +02:00
Jan Dittberner 4b9d8d02ba use primitive values for task parameters
- remove all code from osusers.models
- add description field to ldapentities.models.LdapGroup
- change tasks defined in osusers.tasks to use primitive values as
  parameters to avoid serialization and model synchronization
2014-05-30 18:42:04 +02:00
Jan Dittberner 72f5d78c10 implement LDAP password hashing
- add passlib to requirements/base.txt
- implement ldapentities.models.LdapUser.set_password
2014-05-30 01:13:41 +02:00
Jan Dittberner 3babbc5b3f implement LDAP group and user classes
- add app ldapentities
- add new settings GROUP_BASE_DN and USER_BASE_DN
- implement ldapentities.models.LdapUser and ldapentities.models.LdapGroup
- implement ldapentities.admin.LdapUserAdmin and
  ldapentities.models.LdapGroupAdmin
2014-05-30 01:07:25 +02:00