After you have entered the employee data into the directory database, test the directory database and Directory Server by doing one of the following:
Information in an LDAP directory can be easily searched by LDAP enabled programs. Many e-mail clients can search LDAP directory servers as part of their address book function. The following are example procedures to configure Lotus Notes 6 and Microsoft Outlook Express 6. The procedure for most other e-mail clients will be similar.
Lotus Notes
- Open your address book.
- Click Actions —> New —> Account.
- Type myiSeries in the Account name field.
- Type myiSeries.my_co.com in the Account server name field.
- Select LDAP in the Protocol field.
- Click the Protocol Configuration tab.
- Type dc=my_co,dc=com in the Search base field.
- Click Save and close.
- Click Create —> Mail —> Memo.
- Click Address....
- Select myiSeries in the Choose address book field.
- Type Alvirez in the Search for field.
- Click Search. The data for Jose Alvirez appears
Microsoft Outlook Express
- Click Tools —> Accounts.
- Click Add —> Directory Service.
- Type the Web address of the iSeries in the Internet Directory (LDAP) server field (myiSeries.my_co.com).
- Uncheck the My LDAP server requires me to log on check box
- Click Next.
- Click Next.
- Click Finish.
- Select myiSeries.my_co.com (the directory service that you just configured) and click Properties.
- Click Advanced.
- Type dc=my_co,dc=com in the Search base field.
- Click Ok.
- Click Close.
- Type Ctrl+E to open the Find People window.
- Select myiSeries.my_co.com from the Look in list.
- Type Alvirez in the Name field.
- Click Find now. The data for Jose Alvirez appears.
ldapsearch –h myiSeries.my_co.com –b dc=my_co,dc=com objectclass=*
Where:
dc=my_co,dc=com dc=my_co objectclass=domain objectclass=top cn=MyCo employee,dc=my_co,dc=com . . . cn=Jose Alvirez,cn=MyCo Employees,dc=my_co,dc=com sn=Alvirez departmentNumber=DEPTA mail=jalvirez@my_co.com telephoneNumber=999 999 9999 objectclass=top objectclass=inetOrgPerson objectclass=organizationalPerson objectclass=person cn=Jose Alvirez . . .
The first line of each entry is called the distinguished name (DN). DNs are like the complete file name of each entry. Some of the entries do not contain data and are only structural. Those with the line objectclass=inetOrgPerson correspond to the entries you created for people. Jose Alvirez's DN is cn=Jose Alvirez,cn=MyCo Employees,dc=my_co,dc=com.