Returning internet mail address for LDAP query

Technote (troubleshooting)


Problem

Customer use Outlook 2007 and set Domino LDAP server as Internet Directory Service (LDAP) account.
LDAP search result includes name but not mail address.

Cause

In server configuration document, admin found "mail" attribute was not there in LDAP tab.

Environment

Lotus Domino 8.0.2 on Windows 2003

Diagnosing the problem

Admin run following command from Domino program directory:
c:\Domino\ldapsearch -v -h hostname -D anonymous CN=username *

Output:
ldap_sslinit(hostname, 389)

filter pattern: cn=username
returning: *

(there's no information about mail address)

Resolving the problem

Checked LDAP configuration in server configuration document
and re-added mail attribute to LDAP following below steps:

1. Open Server configuration document
2. Click LDAP tab
3. Click Edit Server Configuration button
4. Click Select Attribute Types
5. Select * for Object Classes, click Display Attributes
6. Tick checkbox next to "mail", click Add >>
7. Click OK
8. Save and Close
9. Issue Command "Restart task LDAP"

Run: ldapsearch -v -h hostname -D anonymous CN=username *


Output:
ldap_sslinit(hostname, 389)

filter pattern: cn=username
returning: *

*** Filter is: (cn=username) ***
CN=username,O=org
cn=username
mail=username@acme.org

Mail address now included in query result for Outlook 2007 clients.



Rate this page:

(0 users)Average rating

Add comments

Document information


More support for:

IBM Domino
LDAP

Software version:

8.0, 8.0.1, 8.0.2, 8.5, 8.5.1, 8.5.2, 8.5.3

Operating system(s):

Windows

Reference #:

1607066

Modified date:

2013-09-04

Translate my page

Machine Translation

Content navigation