[Mageia-sysadm] [642] ensure that email are unique at ldap level

root at mageia.org root at mageia.org
Fri Dec 17 01:50:53 CET 2010


Revision: 642
Author:   misc
Date:     2010-12-17 01:50:53 +0100 (Fri, 17 Dec 2010)
Log Message:
-----------
ensure that email are unique at ldap level

Modified Paths:
--------------
    puppet/modules/openldap/templates/slapd.conf

Modified: puppet/modules/openldap/templates/slapd.conf
===================================================================
--- puppet/modules/openldap/templates/slapd.conf	2010-12-17 00:50:52 UTC (rev 641)
+++ puppet/modules/openldap/templates/slapd.conf	2010-12-17 00:50:53 UTC (rev 642)
@@ -32,6 +32,7 @@
 moduleload	ppolicy.la
 #moduleload	refint.la
 moduleload  memberof.la
+moduleload  unique.la
 
 TLSCertificateFile      /etc/ssl/openldap/ldap.pem
 TLSCertificateKeyFile   /etc/ssl/openldap/ldap.pem
@@ -84,6 +85,8 @@
 ppolicy_hash_cleartext yes
 ppolicy_use_lockout yes
 
+overlay unique
+unique_uri ldap:///?mail?sub?
 
 # uncomment if you want to automatically update group
 # memberships when an user is removed from the tree
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/mageia-sysadm/attachments/20101217/d6c5c528/attachment.html>


More information about the Mageia-sysadm mailing list