diff options
author | Rob Crittenden <rcritten@redhat.com> | 2009-02-25 13:50:43 -0500 |
---|---|---|
committer | Rob Crittenden <rcritten@redhat.com> | 2009-02-27 12:57:21 -0500 |
commit | 3fdf9abfce71e0d32f6fc8e5a3b699b663fc5ead (patch) | |
tree | 6f541f3dfebfd4e9e7d14a44b28600b556df92b7 /install | |
parent | af0c0c309dc506b7642f94a9dfcc8359b47f077d (diff) | |
download | freeipa-3fdf9abfce71e0d32f6fc8e5a3b699b663fc5ead.tar.gz freeipa-3fdf9abfce71e0d32f6fc8e5a3b699b663fc5ead.tar.xz freeipa-3fdf9abfce71e0d32f6fc8e5a3b699b663fc5ead.zip |
Enforce netgroup uniqueness, allow netgroups to be members of netgroups
When adding an entry, convert a constraint violation of "already exists"
into a DuplicateEntry exception so the user gets a useful response
Diffstat (limited to 'install')
-rw-r--r-- | install/share/unique-attributes.ldif | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/install/share/unique-attributes.ldif b/install/share/unique-attributes.ldif index 82ec52d1c..764c6320d 100644 --- a/install/share/unique-attributes.ldif +++ b/install/share/unique-attributes.ldif @@ -16,6 +16,24 @@ nsslapd-pluginVersion: 1.1.0 nsslapd-pluginVendor: Fedora Project nsslapd-pluginDescription: Enforce unique attribute values +dn: cn=netgroup uniqueness,cn=plugins,cn=config +changetype: add +objectClass: top +objectClass: nsSlapdPlugin +objectClass: extensibleObject +cn: netgroup uniqueness +nsslapd-pluginPath: libattr-unique-plugin +nsslapd-pluginInitfunc: NSUniqueAttr_Init +nsslapd-pluginType: preoperation +nsslapd-pluginEnabled: on +nsslapd-pluginarg0: cn +nsslapd-pluginarg1: cn=ng,cn=alt,$SUFFIX +nsslapd-plugin-depends-on-type: database +nsslapd-pluginId: NSUniqueAttr +nsslapd-pluginVersion: 1.1.0 +nsslapd-pluginVendor: Fedora Project +nsslapd-pluginDescription: Enforce unique attribute values + #dn: cn=uid uniqueness,cn=plugins,cn=config #objectClass: top #objectClass: nsSlapdPlugin |