Modifying Domino Directory

Hi,

I have a Lotus Domino 8.0 server with 2 Domino directory. Our customer wants to store every user information of the authentication in the second directory. They providing 2 LDAP attributes:

CN and mail.

The problem occurs, when we have two same name (CN) for e.g.: John Smiths.

The only unique attribute is the mail attribute.

How can I modify persons via LDAP by mail attribute?

Any help appreciated.

Best regards,

Tom

Subject: LDAP code to resolve a between two objects with identical CNs

The problem occurs, when we have two same name (CN) for e.g.: John Smiths.The only unique attribute is the mail attribute.

How can I modify persons via LDAP by mail attribute?

If you are saying your Domino LDAP server serves up two objects like this:

dn: cn=John Smith, o=A

cn: John Smith

mail: jsmith@A.com

dn: cn=John Smith, o=B

cn: John Smith

mail: jsmith@B.com

Then your LDAP client application should:

  1. Read the user input which has the unique mail address (e.g., jsmith@B.com)

  2. LDAP search the Domino LDAP server using the filter mail=jsmith@B.com

  3. LDAP modify the object whose DN (dn=John Smith, o=B) is returned from step 2.

Subject: Any idea?

Any idea?