Hi,
here is an OpenLDAP cluster, with few DC's, eg:
dc=service1,dc=company1,dc=hu and dc=company2,dc=hu.
All DC's containts few ten of OU, where few ten of user.
Now the uniq overlay is set for some attributes, eg. "mail", which means an e-mail address can occures only once in all DB.
(The help came on this list: http://www.openldap.org/lists/openldap-technical/201808/msg00016.html)
Now, is there any way that I can use the unique rule for every OU, but not for all. I mean an e-mail address can be used under several OU, but only once per OU.
Thanks,
a.
--On Wednesday, November 14, 2018 11:50 AM +0100 Ervin Hegedüs airween@gmail.com wrote:
Now, is there any way that I can use the unique rule for every OU, but not for all. I mean an e-mail address can be used under several OU, but only once per OU.
Hi,
Please read up on the "unique_uri" parameter in the slapo-unique(5) man page. It should be possible to make it so the 'mail' attribute is at least only unique inside of a given ou.
Regards, Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com
openldap-technical@openldap.org