Synchronize user information for auto-detection of mail files

If user email addresses are consistent between the Domino LDAP server and the LDAP server that WebSphere Portal uses, configure Collaborative Services to query the non-Domino LDAP server for the mail file and mail server. In this type of configuration, the iNotes portlet can retrieve the email file and server information from the WebSphere Portal directory.


Prerequisites


Configure the portal to recognize Lotus Domino and Collaborative Services
Specify the Internet host name of the Lotus Domino server

By default, Collaborative Services uses the following search to find the user:

(&(objectclass=person)(|(uid=%c)(cn=%c)))

Where %c is the common name (cn) of the user as defined by the Portal LDAP directory. If the common name is unique from other users and the same in both the Portal LDAP and Domino LDAP directory, the default query should work. Auto-detection of email file should work at this point. However, if the common name is not unique or is not the same in both directories, decide on a different attribute to use to find the user.

The following settings allow you to change the filter that Collaborative Services uses to find the user.

  1. Open the CSEnvironment.properties file in a text editor.

  2. Copy and paste the following section into the properties file. If there are return characters after the equal signs or anywhere else in the middle of each statement, remove them.

      ###########################################################
      # dual directory settings
      ##########################################################
      # In the queries below
      #  %c = common name
      #  %d = ldap dn
      #  %n = fq notes name
      #  %v = the first item in the id like "cn=jane doe" or "uid=jdoe"
      #  %l = login name
      #  %a = vmm attribute use with CS_SERVER_DOMINO_DIRECTORY_1.other_lookup_attribute
       
       
      CS_SERVER_DOMINO_DIRECTORY_1.allow_dn_search=false
      CS_SERVER_DOMINO_DIRECTORY_1.other_lookup_attribute=ibm-primaryEmail
      CS_SERVER_DOMINO_DIRECTORY_1.query_user=(&(objectclass=person)(mail=%a))  

      In the example below, the email address is the same in both directories. The Portal LDAP directory has internetaddress set to the user email address and the Domino Directory has the email attribute set to the user's email address. The example also assumes that VMM has ibm=primaryEmail mapped to internetaddress in the Portal LDAP directory.

      CS_SERVER_DOMINO_DIRECTORY_1.allow_dn_search=false
      CS_SERVER_DOMINO_DIRECTORY_1.other_lookup_attribute=ibm-primaryEmail
      CS_SERVER_DOMINO_DIRECTORY_1.query_user=(&(objectclass=person)(mail=%a))

      Another common example is for the log in attribute by Portal to be mapped to the uid field in the Domino LDAP directory. In this case you would use the following settings:

      CS_SERVER_DOMINO_DIRECTORY_1.allow_dn_search=false
      CS_SERVER_DOMINO_DIRECTORY_1.query_user=(&(objectclass=person)(uid=%l))

  3. To specify a search base when you search the Domino LDAP directory, add the following setting to the CSEnvironment.properties file.

      CS_SERVER_DOMINO_DIRECTORY_1.searchBase=O=DominoPortal

  4. Save the properties file and restart the portal server.

If automatic detection of the email file does not work after completing these steps, use com.lotus.cs.*=all debug to help isolate the problem.


Parent

Configure automatic mail detection using a Lotus Domino LDAP directory


Previous

Specify the Internet host name of the Lotus Domino server

Technote 1157029, Troubleshooting Automatic Detection of Your Mail File

 


+

Search Tips   |   Advanced Search