Synchronizing user information for autodetection of mail files
If user e-mail 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 Domino Web Access portlet can retrieve the e-mail file and server information from the WebSphere Portal directory.
By default, Collaborative Services uses the following search to find the user:
Prerequisites
- Configure portal to recognize Lotus Domino and Collaborative Services
- Specifying the Internet host name of the Lotus Domino server
(&(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 e-mail 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.
- Open the CSEnvironment.properties file in a text editor.
- 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 e-mail address is the same in both directories. The Portal LDAP directory has internetaddress set to the user e-mail address and the Domino Directory has the e-mail attribute set to the user's e-mail 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))- 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- Save the properties file and restart the portal server.
If automatic detection of the e-mail file does not work after completing these steps, use com.lotus.cs.*=all debug to help isolate the problem.
Parent topic:
Configure automatic mail detection using a Lotus Domino LDAP directory
Previous topic:
Specifying the Internet host name of the Lotus Domino server
Related information
Technote 1157029, Troubleshooting Automatic Detection of Your Mail File