summaryrefslogtreecommitdiffstats
path: root/install/share
diff options
context:
space:
mode:
authorJan Cholasta <jcholast@redhat.com>2013-09-09 08:15:11 +0000
committerPetr Viktorin <pviktori@redhat.com>2013-09-10 09:49:43 +0200
commite380acdc1c15af63413b7ac0d27ddea513535a5d (patch)
tree800a6cde8140620a100f6bd0d7c0f5c9641e8177 /install/share
parenta70b08e9aea891555ebee512de196748a835acb8 (diff)
downloadfreeipa-e380acdc1c15af63413b7ac0d27ddea513535a5d.tar.gz
freeipa-e380acdc1c15af63413b7ac0d27ddea513535a5d.tar.xz
freeipa-e380acdc1c15af63413b7ac0d27ddea513535a5d.zip
Fix nsslapdPlugin object class after initial replication.
This is a workaround for <https://fedorahosted.org/389/ticket/47490>. https://fedorahosted.org/freeipa/ticket/3915
Diffstat (limited to 'install/share')
-rw-r--r--install/share/Makefile.am1
-rw-r--r--install/share/schema-update.ldif7
2 files changed, 8 insertions, 0 deletions
diff --git a/install/share/Makefile.am b/install/share/Makefile.am
index 5fff55bd1..58d568959 100644
--- a/install/share/Makefile.am
+++ b/install/share/Makefile.am
@@ -68,6 +68,7 @@ app_DATA = \
copy-schema-to-ca.py \
upload-cacert.ldif \
sasl-mapping-fallback.ldif \
+ schema-update.ldif \
$(NULL)
EXTRA_DIST = \
diff --git a/install/share/schema-update.ldif b/install/share/schema-update.ldif
new file mode 100644
index 000000000..93ff79ebf
--- /dev/null
+++ b/install/share/schema-update.ldif
@@ -0,0 +1,7 @@
+# FIXME: https://fedorahosted.org/389/ticket/47490
+
+dn: cn=schema
+changetype: modify
+add: objectClasses
+objectClasses: ( 2.16.840.1.113730.3.2.41 NAME 'nsslapdPlugin' DESC 'Netscape defined objectclass' SUP top MUST ( cn $ nsslapd-pluginPath $ nsslapd-pluginInitFunc $ nsslapd-pluginType $ nsslapd-pluginId $ nsslapd-pluginVersion $ nsslapd-pluginVendor $ nsslapd-pluginDescription $ nsslapd-pluginEnabled ) MAY ( nsslapd-pluginConfigArea $ nsslapd-plugin-depends-on-type ) X-ORIGIN 'Netscape Directory Server' )
+objectClasses: ( 2.16.840.1.113730.3.2.317 NAME 'nsSaslMapping' DESC 'Netscape defined objectclass' SUP top MUST ( cn $ nsSaslMapRegexString $ nsSaslMapBaseDNTemplate $ nsSaslMapFilterTemplate ) MAY ( nsSaslMapPriority ) X-ORIGIN 'Netscape Directory Server' )