Configuring multiple domain support for LPM user portal

  1. Using a text editor, open the <install‑Dir> Lexmark\Solutions\apps\idm\WEB-INF\classes\ idm-production-config.properties file, where <install‑Dir> is the installation folder of LDD.
  2. Configure the following entries:
    # This section SHOULD always be present
    primary.idm.ldap.url=
    primary.idm.ldap.base=
    primary.idm.ldap.userAttribute=
    primary.idm.ldap.userDn=
    primary.idm.ldap.password=
    primary.idm.ldap.domain=
    primary.idm.ldap.custom1attr=
    primary.idm.ldap.custom2attr =
    primary.idm.ldap.custom3attr =
    
    # Make sure to add and configure the following entries for each domain in your environment with their appropriate values, where <domain> is the short name for the domain
    <domain>.idm.ldap.url=
    <domain>.idm.ldap.base=
    <domain>.idm.ldap.userAttribute=
    <domain>.idm.ldap.userDn=
    <domain>.idm.ldap.password=
    <domain>.idm.ldap.domain=
    <domain>.idm.ldap.custom1attr=
    <domain>.idm.ldap.custom2attr =
    <domain>.idm.ldap.custom3attr =
    
    # These are the common properties
    idm.token.expirationInMinutes=60
    idm.token.maxTokensToPrune=1000
    
    idm.lddLoadBalancer=
    idm.ldd.baseUri=
    grails.server.port.http=
    grails.server.port.https=
    grails.plugins.springsecurity.portMapper.httpPort=
    grails.plugins.springsecurity.portMapper.httpsPort=
    tomcat.keystorePath =
    tomcat.keystorePassword =
    
    idp.client_credentials.1=
    idp.client_credentials.2=
  3. Save the file.
  4. Restart the Lexmark Solutions Application Server service.
Note: When the Lexmark Solutions Application Server service is restarted, LDAP configuration resets based on the idm-production-config.properties file. Any changes done on the LDAP configuration using the LPM administrator portal rolls back. This is applicable only to versions earlier than LPM 2.8.