Support automatic mail detection with an LDAP directory other than Lotus Domino

 

+

Search Tips   |   Advanced Search

 

If the LDAP directory configured for the portal and for Lotus Collaborative Services is not IBM Lotus Domino, and you want the automatic mail detection feature in Lotus Domino messaging portlets, we can modify the CSenvironment.properties file to support the feature.

Perform the following steps:

  1. Modify the CSEnvironment.properties file

  2. Enable the lines under the Mail server and Mail File Queries section. The following example shows the syntax with comments.

    # Mail server and Mail File Queries: 
    #CS_SERVER_DOMINO_DIRECTORY_1.mailfileserver_objectclass=person #CS_SERVER_DOMINO_DIRECTORY_1.mailserver_attrib=mailserver 
    #CS_SERVER_DOMINO_DIRECTORY_1.mailfile_attrib=mailfile # Email Address query CS_SERVER_DOMINO_DIRECTORY_1.email_objectclass=person CS_SERVER_DOMINO_DIRECTORY_1.email_attrib=internetaddress 

  3. To enable the CS_SERVER_DOMINO_DIRECTORY_1.mailserver_attrib and CS_SERVER_DOMINO_DIRECTORY_1.mailfile_attrib attributes for the primary non- Lotus Domino LDAP directory configured for the portal site, add the following entry:

    CS_SERVER_DOMINO_DIRECTORY_1.primary_ldap_custom_attribute_enabled=true 

    By default, these attributes are used only if the portal configuration uses a custom LDAP directory, but adding the line above allows them to be used for a non- Lotus Domino LDAP.

  4. Enable the following section:

    ##############################################################
    #
    # DOMINO DIRECTORY properties # (LDAP server)
    # 
    # Should always point to a Domino Server.
    # Leave enabled flag as true.
    # Use the custom_ldap_* settings to point to a any LDAP Server to 
    # get user information.
    ##############################################################
    
    CS_SERVER_DOMINO_DIRECTORY.enabled=true CS_SERVER_DOMINO_DIRECTORY_1.hostname=luckdev03.notesdev.ibm.com CS_SERVER_DOMINO_DIRECTORY_1.port=389
    CS_SERVER_DOMINO_DIRECTORY_1.ssl=false CS_SERVER_DOMINO_DIRECTORY_1.anonymous=true 
    
    ###########################################################
    # dual directory settings ##########################################################
    
    CS_SERVER_DOMINO_DIRECTORY_1.searchBase=O=DominoPortal 
    # In the queries below # %c = common name # %d = ldap dn # %n = fq notes name # %v = the first item in the id like "cn=pablo neruda" or "uid=pneruda"
    
    #CS_SERVER_DOMINO_DIRECTORY_1.query_base_search=(objectclass=*)
    
    #CS_SERVER_DOMINO_DIRECTORY_1.query_distinguished_name=(& (objectclass=person) (|(uid=%c)(cn=%c)))
    #CS_SERVER_DOMINO_DIRECTORY_1.query_distinguished_name_attrib=cn  
    #CS_SERVER_DOMINO_DIRECTORY_1.query_domino_servers=(&(objectclass=dominoServer)(http-hostname=*))
    #CS_SERVER_DOMINO_DIRECTORY_1.query_domino_servers_attrib=http-hostname 
    #CS_SERVER_DOMINO_DIRECTORY_1.query_http_host.name=(| (& (objectclass=server)(%v) ) (& (objectclass=dominoServer)(%v) ) )
    #CS_SERVER_DOMINO_DIRECTORY_1.query_http_host_name_attrib=http-hostname  
    #CS_SERVER_DOMINO_DIRECTORY_1.query_last_resort=(| (& (objectclass=person)(%v) ) (& (objectclass=groupOfNames)(%v) )(& (objectclass=server)(%v) )(& (objectclass=dominoServer)(%v) ))
    
    CS_SERVER_DOMINO_DIRECTORY_1.query_user_emailaddr=(&(objectclass=person)(cn=%c))
    #CS_SERVER_DOMINO_DIRECTORY_1.query_user_emailaddr_attrib=internetaddress 
    CS_SERVER_DOMINO_DIRECTORY_1.query_user_mailserverfile=(&(objectclass=person)(cn=%c))
    #CS_SERVER_DOMINO_DIRECTORY_1.query_user_mailserverfile_attrib=mailserver,mailfile 

  5. Save the properties file.

 

Parent Topic

Checklist of tasks: LDAP server for Lotus Collaborative Services

 

Previous topic

Collaborative Services and user authentication

 

Related concepts



Collaborative Services environment properties