summaryrefslogtreecommitdiffstats
path: root/install/share
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2012-09-13 15:11:57 -0400
committerRob Crittenden <rcritten@redhat.com>2012-10-08 18:32:41 -0400
commit96decfea26a1ca977aa81456e46e0590dde1f861 (patch)
tree2af139b83a53de4ace6185c2aa352ea9a8ea5565 /install/share
parent74ebd0fd75fababe7d080080ef019b53e96c0c4f (diff)
downloadfreeipa-96decfea26a1ca977aa81456e46e0590dde1f861.tar.gz
freeipa-96decfea26a1ca977aa81456e46e0590dde1f861.tar.xz
freeipa-96decfea26a1ca977aa81456e46e0590dde1f861.zip
Add uniqueness plugin configuration for sudorule cn
We do a search looking for duplicate values but this leaves open the possibility that two adds are happening at the same time so both searches return NotFound therefore we get two entries with the same cn value. https://fedorahosted.org/freeipa/ticket/3017
Diffstat (limited to 'install/share')
-rw-r--r--install/share/unique-attributes.ldif18
1 files changed, 18 insertions, 0 deletions
diff --git a/install/share/unique-attributes.ldif b/install/share/unique-attributes.ldif
index 4537e7468..0e680a0e4 100644
--- a/install/share/unique-attributes.ldif
+++ b/install/share/unique-attributes.ldif
@@ -70,6 +70,24 @@ nsslapd-pluginVersion: 1.1.0
nsslapd-pluginVendor: Fedora Project
nsslapd-pluginDescription: Enforce unique attribute values
+dn: cn=sudorule name uniqueness,cn=plugins,cn=config
+changetype: add
+objectClass: top
+objectClass: nsSlapdPlugin
+objectClass: extensibleObject
+cn: sudorule name uniqueness
+nsslapd-pluginDescription: Enforce unique attribute values
+nsslapd-pluginPath: libattr-unique-plugin
+nsslapd-pluginInitfunc: NSUniqueAttr_Init
+nsslapd-pluginType: preoperation
+nsslapd-pluginEnabled: on
+nsslapd-pluginarg0: cn
+nsslapd-pluginarg1: cn=sudorules,cn=sudo,$SUFFIX
+nsslapd-plugin-depends-on-type: database
+nsslapd-pluginId: NSUniqueAttr
+nsslapd-pluginVersion: 1.1.0
+nsslapd-pluginVendor: Fedora Project
+
#dn: cn=uid uniqueness,cn=plugins,cn=config
#objectClass: top
#objectClass: nsSlapdPlugin