[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Unique overlay confusing
- To: openldap-technical@openldap.org
- Subject: Unique overlay confusing
- From: Ervin Hegedüs <airween@gmail.com>
- Date: Wed, 8 Aug 2018 11:25:19 +0200
- Content-disposition: inline
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :user-agent; bh=Nb0O7EHJbHrbXv0ZxJMj2R45uSXiwkPxjyT6UEPoHJ0=; b=DnddcFfp4wjRKIyYpW4JrEGcxVcWkma3bt3ghug9UPHsf3w7/C8HtUB+Xjx5k/99mM r3Hxm+geD/B/wia0Oh1ECkdX8LW77PJZE3+hZEifs43mfVNt8bqqpg/eMs+vN/K4q9uu B+K3XGS1BHq7dW0lSQkUEf+bJCFsR/ncH5zvbicCw+V3FugqUEPOOYp9KOrWhtkOoYI6 8XTgQcUtWVqD9VXZB3ahVdqPT7jIIRiWGYobu2AQiH6Ym6ZwC17ibFIBcNifJuiqkihd h75a+aExvLcXXepV10dDiqL4CjaiKhFzoQ10uxYO0Jgyrp/3kLs9gjXmSC0m8jN3AmUg +s1g==
- User-agent: Mutt/1.5.24 (2015-08-30)
Hi there,
I've followed the docs (and some forums), and made these
modifications:
(OpenLDAP doc:
http://www.openldap.org/doc/admin24/overlays.html#Attribute%20Uniqueness)
dn: cn=module,cn=config
cn: module
objectClass: olcModuleList
olcModulePath: /usr/lib/ldap/
olcModuleLoad: unique.la
dn: olcOverlay=unique,olcDatabase={1}mdb,cn=config
objectClass: olcOverlayConfig
objectClass: olcUniqueConfig
olcOverlay: unique
olcUniqueAttribute: uid
olcUniqueAttribute: mail
olcUniqueAttribute: uidNumber
olcUniqueAttribute: sn
olcUniqueAttribute: cn
but I still can set the mail attribute as same e-mail address
for two different users.
I've tried this config too:
dn: olcOverlay=unique,olcDatabase={1}mdb,cn=config
objectClass: olcOverlayConfig
objectClass: olcUniqueConfig
olcOverlay: unique
olcUniqueUri: ldap:///?uid?sub?
olcUniqueUri: ldap:///?mail?sub?
olcUniqueUri: ldap:///?uidNumber?sub?
olcUniqueUri: ldap:///?sn?sub?
olcUniqueUri: ldap:///?cn?sub?
What em'I missing?
Thanks,
a.