I installed LDAP and phpLDAPadmin following this tutorial, and so far it is working.
Now I am trying to create an entry in the address book with a duplicate email address.
I'm trying to set up contact sharing in outlook, but we have groups of employees that share a common email address.
For example:
- There are three people in team A.
- All three people share the email address
teamA@MyDomain.com
. - Each contact has their email address set to that address.
Creating the first contact works, but I cannot create the next contact because the email is already in use.
How I can create multiple contacts with the same email address in LDAP?
Example of my ldif file:
dn: cn=MrA,ou=MyOu,dc=MyDomain,dc=com
cn: MrA
givenname: MrA
mail: teamA@MyDomain.com
objectclass: inetOrgPerson
objectclass: top
sn: Mr
dn: cn=MrB,ou=MyOu,dc=MyDomain,dc=com
cn: MrB
givenname: MrB
mail: teamA@MyDomain.com <= If I don't put email, MrB added successfully
objectclass: inetOrgPerson
objectclass: top
sn: MrB
I tried modifying /etc/ldap/schema/core.schema
and other schema files, but nothing that I did fixed the problem.