mirror of
https://github.com/kakwa/ldapcherry
synced 2025-07-04 12:27:47 +02:00
adding methods add_user and del_user
* adding add_user * adding del_user * adding unit tests * adding configuration parameters for adding users
This commit is contained in:
parent
0f6e0c7cab
commit
a1c7a529d8
5 changed files with 125 additions and 15 deletions
|
@ -68,7 +68,7 @@ roles.file = '/etc/ldapcherry/roles.yml'
|
|||
|
||||
ldap.module = 'ldapcherry.backend.backendLdap'
|
||||
ldap.groupdn = 'ou=group,dc=example,dc=com'
|
||||
ldap.userdn = 'ou=group,dc=example,dc=com'
|
||||
ldap.userdn = 'ou=people,dc=example,dc=com'
|
||||
ldap.binddn = 'cn=ldapcherry,dc=example,dc=com'
|
||||
ldap.password = 'password'
|
||||
ldap.uri = 'ldaps://ldap.ldapcherry.org'
|
||||
|
@ -79,6 +79,7 @@ ldap.user_filter_tmpl = '(uid=%(username)s)'
|
|||
ldap.group_filter_tmpl = '(member=%(username)s)'
|
||||
ldap.search_filter_tmpl = '(|(uid=%(searchstring)s*)(sn=%(searchstring)s*))'
|
||||
ldap.objectclasses = 'top, person, organizationalPerson, user'
|
||||
ldap.dn_user_attr = 'uid'
|
||||
ldap.timeout = 1
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue