Setting up LDAP to search the Stanford directory. (Windows)

These instructions describe how to make a secure, authenticated LDAP connection in Outlook to search for the "Stanford view" of the directory. They may be used as an alternative to accessing the Global Address List.

Adding a Trusted Root Certificate

Note: This step may not be necessary. I tried it without installing the root certificate and it worked.

It is necessary to import the root certificate used by the LDAP server using the following procedure:

  1. Click this link to download the root certificate.  If you are using Internet Explorer or Chrome Select Open when asked what you'd like to do with the file. If you are using another browser, choose to open the file using Internet Explorer.
  2. Click on the Install Certificate button.
  3. When the Certificate Import Wizard starts, click Next.
  4. Select the option to "Place All Certificates in the Following Store" and click Browse.
  5. Select "Trusted Root Certification Authorities" and click OK.
  6. Click Next and then Finish. If prompted, click OK to confirm the installation of the certificate.

Configuring the LDAP Lookup in Outlook

  1. In Outlook select Account Settings from the Tools menu (Outlook 2010 users can find Account Settings under the File menu).
  2. Under the Address Books tab select New and choose the option for an "Internet Directory Service (LDAP)" and click Next.
  3. Enter the following:
    Username:  win\yoursunetid
    Password:  (your sunetid password)
    Use Secure Password Authentication:  unchecked
  4. Click More Settings.  Under Connection Details select the option Use Secure Socket Layer.
  5. Under the Search tab select the option to do a Custom search and enter the following as the search base:  ou=accounts,dc=win,dc=stanford,dc=edu
  6. Click OK, Next and then Finish.  You will need to close Outlook and reopen it before you can search this LDAP server.

Performing a Search

  1. From the Tools menu choose Address Books (Outlook 2010 users can find Address Books under the Home tab).
  2. Select from the drop down menu.
  3. Make sure "More Columns" is selected, type your search term and click Search
    Search Tips
    : If you have trouble finding the person you are looking for try searching by last name only, or by last name, first name. 


Please sign in to leave a comment.
Powered by Zendesk