On 8/8/18 12:43 PM, Howard Chu wrote:
Michael Ströder wrote:
On 8/8/18 11:25 AM, Ervin Hegedüs wrote:
I've followed the docs (and some forums), and made these modifications:
(OpenLDAP doc: http://www.openldap.org/doc/admin24/overlays.html#Attribute%20Uniqueness)
but I still can set the mail attribute as same e-mail address for two different users.
It should just work. Which OpenLDAP version and builds are you using?
Wild guess: Did you also add an eq-index for the unique attributes *and* re-index the DB?
(Note - adding an index by LDAPmodify'ing cn=config automatically reindexes the DB...)
Yes, I know. But I vaguely remember that there were some issues with that in older versions. The original poster did not mention the OpenLDAP builds/version used.
Ciao, Michael.