summaryrefslogtreecommitdiffstats
path: root/install/updates/20-host_nis_groups.update
diff options
context:
space:
mode:
Diffstat (limited to 'install/updates/20-host_nis_groups.update')
-rw-r--r--install/updates/20-host_nis_groups.update15
1 files changed, 15 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