Hi list,
We have an openldap server 2.4 on redhat enterprise linux 4 update 7. We import users from Windows Active Directory(AD) running Windows Server 2003.
We are mapping the mail attribute from the source (AD) to the destination (openldap) & want the mail id to be unique accross the ldap directory so that no two email ids will be same while replicating from different Source .
How to achive that ? Do we have to modify our schema ?
We are using the following schema in our slapd.conf -
include /opt/openldap/etc/openldap/schema/core.schema include /opt/openldap/etc/openldap/schema/cosine.schema include /opt/openldap/etc/openldap/schema/inetorgperson.schema
Can you pls help ?
Thanks & Regards,
Somnath Pal Server Management Unit International Computing Centre (ICC) E-mail: pal@unicc.org
In the database definition in slapd.conf, put
# index since the unique overlay will search for matching mail attributes index mail eq
overlay unique unique_attributes mail
If unique overlay is not compiled in, you'll need to recompile with ./configure ... --enable-unique
Hi Hallavard B Furuseth,
Thank you very much for the suggestion.
Thanks & Regards,
Somnath Pal Server Management Unit International Computing Centre (ICC) E-mail: pal@unicc.org
Hallvard B Furuseth h.b.furuseth@usit.uio.no Sent by: Hallvard Breien Furuseth h.b.furuseth@usit.uio.no 09/18/2008 03:40 PM
To Somnath Pal pal@unicc.org cc openldap-technical@openldap.org Subject Re: Pls help : how to make mail id as unique attribute
In the database definition in slapd.conf, put
# index since the unique overlay will search for matching mail attributes index mail eq
overlay unique unique_attributes mail
If unique overlay is not compiled in, you'll need to recompile with ./configure ... --enable-unique
openldap-technical@openldap.org