diff options
author | Rob Crittenden <rcritten@redhat.com> | 2011-04-14 14:37:45 -0400 |
---|---|---|
committer | Martin Kosek <mkosek@redhat.com> | 2011-04-15 13:02:17 +0200 |
commit | fe67680da5c3d7799884bdbd4d900070394dc5d0 (patch) | |
tree | bf51ade36d8d0895b28f8d059c1ed2f91dac6058 /install/updates/50-groupuuid.update | |
parent | e3ec1fb7efb12c3669855b6c388f196c268680ee (diff) | |
download | freeipa-fe67680da5c3d7799884bdbd4d900070394dc5d0.tar.gz freeipa-fe67680da5c3d7799884bdbd4d900070394dc5d0.tar.xz freeipa-fe67680da5c3d7799884bdbd4d900070394dc5d0.zip |
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
Diffstat (limited to 'install/updates/50-groupuuid.update')
-rw-r--r-- | install/updates/50-groupuuid.update | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/install/updates/50-groupuuid.update b/install/updates/50-groupuuid.update new file mode 100644 index 000000000..55149656a --- /dev/null +++ b/install/updates/50-groupuuid.update @@ -0,0 +1,12 @@ +# The groups added in bootstrap-template.ldif didn't include ipaUniqueId +dn: cn=admins,cn=groups,cn=accounts,$SUFFIX +add:objectclass: ipaobject +addifnew:ipaUniqueID: autogenerate + +dn: cn=ipausers,cn=groups,cn=accounts,$SUFFIX +add:objectclass: ipaobject +addifnew:ipaUniqueID: autogenerate + +dn: cn=editors,cn=groups,cn=accounts,$SUFFIX +add:objectclass: ipaobject +addifnew:ipaUniqueID: autogenerate |