About cookies on this site Our websites require some cookies to function properly (required). In addition, other cookies may be used with your consent to analyze site usage, improve the user experience and for advertising. For more information, please review your options. By visiting our website, you agree to our processing of information as described in IBM’sprivacy statement. To provide a smooth navigation, your cookie preferences will be shared across the IBM web domains listed here.
Question & Answer
Question
How to setup specific searching for LDAP authentication in RTM?
Cause
When setting up LDAP authentication in RTM, there are three modes to choose from: No Searching, Anonymous Searching and Specific Searching.
If searching is needed to find user's Distinguished Name (DN) and your LDAP server requires credential to perform DN look-up, then Specific Searching is the choice.

Answer
There are four required fields of LDAP Specific Search Settings: Search Base, Search Filter, Search DN and password.
Except for the password, you can find the rest info from a LDAP user record.
For example, below is a user LDAP record:
strek, people, supply.abc.com
dn: cn=Star Trek,ou=people,dc=supply,dc=abc,dc=com
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: top
objectClass: sudixAccount
objectClass: person
objectClass: shadowAccount
objectClass: sambaSamAccount
cn: Star Trek
gidNumber: 10007
homeDirectory: /home/strek
sn: strek
uid: strek
uidNumber: 11111
loginShell: /bin/csh
mail: strek@supply.abc.com
employeeType: primary
...
In this case
Search Base can be: ou=people,dc=supply,dc=abc,dc=com
Search Filter is the field name that contains the username: (uid=<username>)
Search DN can be any user's DN, e.g. cn=Star Trek,ou=people,dc=supply,dc=abc,dc=com
The password is then the password for the user Star Trek
You can also verify using ldapsearch command
ldapsearch -h ldap1.eng.supply.abc.com -p 389 -x -D 'cn=Star Trek,ou=people,dc=supply,dc=abc,dc=com' -w <pwd> -b 'ou=people,dc=supply,dc=abc,dc=com' -s sub '(uid=strek)'
Related Information
[{"Product":{"code":"SSZT2D","label":"IBM Spectrum LSF RTM"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"--","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"10.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}},{"Product":{"code":"SSVMSD","label":"Platform RTM"},"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Component":" ","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"Version Independent","Edition":"","Line of Business":{"code":"","label":""}}]
Was this topic helpful?
Document Information
Modified date:
17 June 2018
UID
isg3T1027219
Manage My Notification Subscriptions