1
0
mirror of https://github.com/moepman/bk-dss synced 2024-12-22 18:24:27 +01:00

add some missing attributes and settings

This commit is contained in:
Markus 2023-01-06 23:48:09 +01:00
parent 404fc51fd6
commit c66250daaf

View File

@ -13,13 +13,15 @@ USER_DN = "cn={user},ou=people,dc=example,dc=com"
USER_ATTRS = {
'objectClass' : ['top', 'inetOrgPerson', 'organizationalPerson', 'person', 'posixAccount'],
'cn' : '{user}',
'gidNumber' : '{gid}',
'givenName' : '{gn}',
'homeDirectory' : '/home/{user}',
'loginShell' : '/bin/bash',
'mail' : '{user}@example.com',
'sn' : '{sn}',
'uid' : '{user}',
'uidNumber' : '{uid}',
'gidNumber' : '{gid}'
'userPassword' : '{pass}'
}
GROUP_FILTER = "(objectClass=posixGroup)"