diff options
author | Rob Crittenden <rcritten@redhat.com> | 2011-05-18 15:12:22 -0400 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2011-05-25 16:39:27 -0400 |
commit | 201ffc07bdb9e45ebb155a36b3b8ca77e7f9719c (patch) | |
tree | 818a194263f936a517e2842b44dcdb2f7d7071a2 /install/updates | |
parent | 5a4f77ac1433ca1a0c9327dc90af58e3f225151d (diff) | |
download | freeipa-201ffc07bdb9e45ebb155a36b3b8ca77e7f9719c.tar.gz freeipa-201ffc07bdb9e45ebb155a36b3b8ca77e7f9719c.tar.xz freeipa-201ffc07bdb9e45ebb155a36b3b8ca77e7f9719c.zip |
Configure Managed Entries on replicas.
The Managed Entries plugin configurations weren't being created on
replica installs. The templates were there but the cn=config
portions were not.
This patch adds them as updates. The template portion will be added
in the initial replication.
ticket 1222
Diffstat (limited to 'install/updates')
-rw-r--r-- | install/updates/20-host_nis_groups.update | 15 | ||||
-rw-r--r-- | install/updates/20-user_private_groups.update | 11 | ||||
-rw-r--r-- | install/updates/Makefile.am | 2 |
3 files changed, 28 insertions, 0 deletions
diff --git a/install/updates/20-host_nis_groups.update b/install/updates/20-host_nis_groups.update new file mode 100644 index 000000000..662980211 --- /dev/null +++ b/install/updates/20-host_nis_groups.update @@ -0,0 +1,15 @@ +# This is a copy of the definition from host_nis_groups.ldif +# This is required for replication. The template entry will get +# replicated but the plugin configuration will not. + +dn: cn=NGP Definition,cn=Managed Entries,cn=plugins,cn=config +default:objectclass: extensibleObject +default:cn: NGP Definition +default:originScope: cn=hostgroups,cn=accounts,$SUFFIX +default:originFilter: objectclass=ipahostgroup +default:managedBase: cn=ng,cn=alt,$SUFFIX +default:managedTemplate: cn=NGP HGP Template,cn=etc,$SUFFIX + +# Fix an existing configuration with the wrong cn +dn: cn=NGP Definition,cn=Managed Entries,cn=plugins,cn=config +only:cn: NGP Definition diff --git a/install/updates/20-user_private_groups.update b/install/updates/20-user_private_groups.update new file mode 100644 index 000000000..8c7baca41 --- /dev/null +++ b/install/updates/20-user_private_groups.update @@ -0,0 +1,11 @@ +# This is a copy of the definition from user_private_groups.ldif +# This is required for replication. The template entry will get +# replicated but the plugin configuration will not. + +dn: cn=UPG Definition,cn=Managed Entries,cn=plugins,cn=config +default:objectclass: extensibleObject +default:cn: UPG Definition +default:originScope: cn=users,cn=accounts,$SUFFIX +default:originFilter: (&(objectclass=posixAccount)(!(description=__no_upg__))) +default:managedBase: cn=groups,cn=accounts,$SUFFIX +default:managedTemplate: cn=UPG Template,cn=etc,$SUFFIX diff --git a/install/updates/Makefile.am b/install/updates/Makefile.am index eb864b6b0..ef1e9b716 100644 --- a/install/updates/Makefile.am +++ b/install/updates/Makefile.am @@ -8,9 +8,11 @@ app_DATA = \ 10-config.update \ 20-aci.update \ 20-dna.update \ + 20-host_nis_groups.update \ 20-indices.update \ 20-nss_ldap.update \ 20-replication.update \ + 20-user_private_groups.update \ 20-winsync_index.update \ 21-replicas_container.update \ 40-delegation.update \ |