summaryrefslogtreecommitdiffstats
path: root/install/updates
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2011-04-14 14:37:45 -0400
committerMartin Kosek <mkosek@redhat.com>2011-04-15 13:02:17 +0200
commitfe67680da5c3d7799884bdbd4d900070394dc5d0 (patch)
treebf51ade36d8d0895b28f8d059c1ed2f91dac6058 /install/updates
parente3ec1fb7efb12c3669855b6c388f196c268680ee (diff)
downloadfreeipa-fe67680da5c3d7799884bdbd4d900070394dc5d0.zip
freeipa-fe67680da5c3d7799884bdbd4d900070394dc5d0.tar.gz
freeipa-fe67680da5c3d7799884bdbd4d900070394dc5d0.tar.xz
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')
-rw-r--r--install/updates/50-groupuuid.update12
-rw-r--r--install/updates/Makefile.am3
2 files changed, 14 insertions, 1 deletions
diff --git a/install/updates/50-groupuuid.update b/install/updates/50-groupuuid.update
new file mode 100644
index 0000000..5514965
--- /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
diff --git a/install/updates/Makefile.am b/install/updates/Makefile.am
index 1bf8e9c..5765bf1 100644
--- a/install/updates/Makefile.am
+++ b/install/updates/Makefile.am
@@ -13,8 +13,9 @@ app_DATA = \
20-winsync_index.update \
21-replicas_container.update \
40-delegation.update \
- 50-lockout-policy.update \
45-roles.update \
+ 50-lockout-policy.update \
+ 50-groupuuid.update \
$(NULL)
EXTRA_DIST = \