mirror of
https://salsa.debian.org/freeipa-team/freeipa.git
synced 2024-12-25 16:31:08 -06:00
96decfea26
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
17 lines
688 B
Plaintext
17 lines
688 B
Plaintext
dn: cn=sudorule name uniqueness,cn=plugins,cn=config
|
|
default:objectClass: top
|
|
default:objectClass: nsSlapdPlugin
|
|
default:objectClass: extensibleObject
|
|
default:cn: sudorule name uniqueness
|
|
default:nsslapd-pluginDescription: Enforce unique attribute values
|
|
default:nsslapd-pluginPath: libattr-unique-plugin
|
|
default:nsslapd-pluginInitfunc: NSUniqueAttr_Init
|
|
default:nsslapd-pluginType: preoperation
|
|
default:nsslapd-pluginEnabled: on
|
|
default:nsslapd-pluginarg0: cn
|
|
default:nsslapd-pluginarg1: cn=sudorules,cn=sudo,$SUFFIX
|
|
default:nsslapd-plugin-depends-on-type: database
|
|
default:nsslapd-pluginId: NSUniqueAttr
|
|
default:nsslapd-pluginVersion: 1.1.0
|
|
default:nsslapd-pluginVendor: Fedora Project
|