Welcome Serena Central users! CLICK HERE
The migration of the Serena Central community is currently underway. Be sure to read THIS MESSAGE to get your new login set up to access your account.
Francis Feugue Outstanding Contributor.
Outstanding Contributor.
144 views

(SM) Support Tip: How to connect Service Manager to multiples LDAP Servers

How to connect Service Manager to multiples LDAP Servers

Problem:

In some scenarios, it is required to configure service manager to connect to multiple LDAP servers to allow users from different domains to connect to service manager. As per design as single SM server instance can be connected to only one LDAP server at a time.

Cause:

Service Manager and LDAP server connection is a one to one relationship. One SM server to one LDAP server.

Workaround:

Two LDAP servers with IP: xx.xx.xx.xx and yy.yy.yy.yy

  1. Setup Service Manager in horizontal scaling mode (with minimum 2 servers) following the steps from the help server.
  2. Connect to Service Manager, go to the scldapconfig file, retain the default LDAP Mapping page and only map the “Name” field of “operator” file to “sAMAccountName” (for Active Directory server).
  3. In the sm.ini configuration file of the first Service Manager server, add a parameter: “ldapserver1:IP%636%DN Search Base”, where IP is the IP address of the LDAP server. Example: ldapserver1:xx.xx.xx.xx,389,"cn=Users,dc=abc,dc=com"
  4. In the sm.ini configuration file of the second Service Manager server, add a parameter: “ldapserver1:IP%636%DN Search Base”, where IP is the IP address of the LDAP server. Example: ldapserver1: yy.yy.yy.yy,389,"cn=Users,dc=abc,dc=com"
  5. Set “ldapsslallownocert:1” in the sm.ini files on both Service Manager instances

Conclusion: Service Manager Server installed on host 1 will be connecting to LDAP server with IP: xx.xx.xx.xx, while Service Manager installed on host 2 will be connecting to LDAP server with IP: yy.yy.yy.yy. Thus we can configure Service manager to connect to multiple LDAP servers.

Notes:

  • Both Service Manager Servers are still connected to the same Database.
  • SM server or servlets used by users from LDAP xx.xx.xx.xx should be different than the servlet used by users from LDAP yy.yy.yy.yy
Labels (1)
1 Reply
Micro Focus Expert
Micro Focus Expert

Re: (SM) Support Tip: How to connect Service Manager to multiples LDAP Servers

Hi Francis,

Very helpful informatino, can we update it into 

Service Manager LDAP Best Practices

https://softwaresupport.hpe.com/km/KM1010774

Thanks,

Ling-Yan

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.