From 201ffc07bdb9e45ebb155a36b3b8ca77e7f9719c Mon Sep 17 00:00:00 2001 From: Rob Crittenden Date: Wed, 18 May 2011 15:12:22 -0400 Subject: 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 --- install/updates/20-host_nis_groups.update | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 install/updates/20-host_nis_groups.update (limited to 'install/updates/20-host_nis_groups.update') diff --git a/install/updates/20-host_nis_groups.update b/install/updates/20-host_nis_groups.update new file mode 100644 index 00000000..66298021 --- /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 -- cgit