mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2025-02-25 18:55:28 -06:00
The default groups we create should have ipaUniqueId set
This adds a new directive to ipa-ldap-updater: addifnew. This will add a new attribute only if it doesn't exist in the current entry. We can't compare values because the value we are adding is automatically generated. ticket 1177
This commit is contained in:
committed by
Martin Kosek
parent
e3ec1fb7ef
commit
fe67680da5
@@ -188,11 +188,13 @@ objectClass: top
|
||||
objectClass: groupofnames
|
||||
objectClass: posixgroup
|
||||
objectClass: ipausergroup
|
||||
objectClass: ipaobject
|
||||
cn: admins
|
||||
description: Account administrators group
|
||||
gidNumber: $IDSTART
|
||||
member: uid=admin,cn=users,cn=accounts,$SUFFIX
|
||||
nsAccountLock: False
|
||||
ipaUniqueID: autogenerate
|
||||
|
||||
dn: cn=ipausers,cn=groups,cn=accounts,$SUFFIX
|
||||
changetype: add
|
||||
@@ -201,9 +203,11 @@ objectClass: groupofnames
|
||||
objectClass: nestedgroup
|
||||
objectClass: ipausergroup
|
||||
objectClass: posixgroup
|
||||
objectClass: ipaobject
|
||||
gidNumber: eval($IDSTART+1)
|
||||
description: Default group for all users
|
||||
cn: ipausers
|
||||
ipaUniqueID: autogenerate
|
||||
|
||||
dn: cn=editors,cn=groups,cn=accounts,$SUFFIX
|
||||
changetype: add
|
||||
@@ -211,9 +215,11 @@ objectClass: top
|
||||
objectClass: groupofnames
|
||||
objectClass: posixgroup
|
||||
objectClass: ipausergroup
|
||||
objectClass: ipaobject
|
||||
gidNumber: eval($IDSTART+2)
|
||||
description: Limited admins who can edit other users
|
||||
cn: editors
|
||||
ipaUniqueID: autogenerate
|
||||
|
||||
dn: cn=sshd,cn=hbacservices,cn=hbac,$SUFFIX
|
||||
changetype: add
|
||||
|
||||
Reference in New Issue
Block a user