From 9ff133a6d7901dcd733c7037ab0fe7f2e9cb38e6 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Fri, 17 Dec 2010 00:50:53 +0000 Subject: ensure that email are unique at ldap level --- modules/openldap/templates/slapd.conf | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules/openldap') diff --git a/modules/openldap/templates/slapd.conf b/modules/openldap/templates/slapd.conf index fe10d95d..4444e974 100644 --- a/modules/openldap/templates/slapd.conf +++ b/modules/openldap/templates/slapd.conf @@ -32,6 +32,7 @@ moduleload syncprov.la 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_default "cn=default,ou=Password Policies,<%= dc_suffix %>" 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 -- cgit v1.2.1