mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 08:21:05 -06:00
3fdf9abfce
When adding an entry, convert a constraint violation of "already exists" into a DuplicateEntry exception so the user gets a useful response
54 lines
1.7 KiB
Plaintext
54 lines
1.7 KiB
Plaintext
dn: cn=krbPrincipalName uniqueness,cn=plugins,cn=config
|
|
changetype: add
|
|
objectClass: top
|
|
objectClass: nsSlapdPlugin
|
|
objectClass: extensibleObject
|
|
cn: krbPrincipalName uniqueness
|
|
nsslapd-pluginPath: libattr-unique-plugin
|
|
nsslapd-pluginInitfunc: NSUniqueAttr_Init
|
|
nsslapd-pluginType: preoperation
|
|
nsslapd-pluginEnabled: on
|
|
nsslapd-pluginarg0: krbPrincipalName
|
|
nsslapd-pluginarg1: $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=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
|
|
#objectClass: extensibleObject
|
|
#cn: uid uniqueness
|
|
#nsslapd-pluginPath: libattr-unique-plugin
|
|
#nsslapd-pluginInitfunc: NSUniqueAttr_Init
|
|
#nsslapd-pluginType: preoperation
|
|
#nsslapd-pluginEnabled: on
|
|
#nsslapd-pluginarg0: uid
|
|
#nsslapd-pluginarg1: cn=accounts,$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
|
|
#
|