mirror of
https://github.com/moepman/bk-dss
synced 2024-12-22 17:24:25 +01:00
add some missing attributes and settings
This commit is contained in:
parent
404fc51fd6
commit
c66250daaf
@ -13,13 +13,15 @@ USER_DN = "cn={user},ou=people,dc=example,dc=com"
|
|||||||
USER_ATTRS = {
|
USER_ATTRS = {
|
||||||
'objectClass' : ['top', 'inetOrgPerson', 'organizationalPerson', 'person', 'posixAccount'],
|
'objectClass' : ['top', 'inetOrgPerson', 'organizationalPerson', 'person', 'posixAccount'],
|
||||||
'cn' : '{user}',
|
'cn' : '{user}',
|
||||||
|
'gidNumber' : '{gid}',
|
||||||
'givenName' : '{gn}',
|
'givenName' : '{gn}',
|
||||||
'homeDirectory' : '/home/{user}',
|
'homeDirectory' : '/home/{user}',
|
||||||
'loginShell' : '/bin/bash',
|
'loginShell' : '/bin/bash',
|
||||||
|
'mail' : '{user}@example.com',
|
||||||
'sn' : '{sn}',
|
'sn' : '{sn}',
|
||||||
'uid' : '{user}',
|
'uid' : '{user}',
|
||||||
'uidNumber' : '{uid}',
|
'uidNumber' : '{uid}',
|
||||||
'gidNumber' : '{gid}'
|
'userPassword' : '{pass}'
|
||||||
}
|
}
|
||||||
|
|
||||||
GROUP_FILTER = "(objectClass=posixGroup)"
|
GROUP_FILTER = "(objectClass=posixGroup)"
|
||||||
|
Loading…
Reference in New Issue
Block a user