mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
Add inetUser objectclass. Remove test-users ldif.
This commit is contained in:
@@ -448,8 +448,9 @@ class IPAServer:
|
||||
del user['gn']
|
||||
|
||||
# some required objectclasses
|
||||
entry.setValues('objectClass', 'top', 'person', 'organizationalPerson', 'inetOrgPerson', 'posixAccount', 'krbPrincipalAux')
|
||||
|
||||
entry.setValues('objectClass', 'top', 'person', 'organizationalPerson',
|
||||
'inetOrgPerson', 'inetUser', 'posixAccount', 'krbPrincipalAux')
|
||||
|
||||
# fill in our new entry with everything sent by the user
|
||||
for u in user:
|
||||
entry.setValues(u, user[u])
|
||||
@@ -709,7 +710,8 @@ class IPAServer:
|
||||
entry = ipaserver.ipaldap.Entry(dn)
|
||||
|
||||
# some required objectclasses
|
||||
entry.setValues('objectClass', 'top', 'groupofuniquenames', 'posixGroup')
|
||||
entry.setValues('objectClass', 'top', 'groupofuniquenames', 'posixGroup',
|
||||
'inetUser')
|
||||
|
||||
# FIXME, need a gidNumber generator
|
||||
if group.get('gidnumber') is None:
|
||||
|
||||
Reference in New Issue
Block a user