IBM Support

Username/Password is invalid error when using the verifyconfig command in LDAP configuration

Troubleshooting


Problem

This technote provides some suggestions for solving the problem of Username/Password is invalid when configure the LDAP in IBM® Rational® RequisitePro® project user security.

Resolving The Problem

When the search base or the user account or both are incorrect, it can cause the Username/Password is invalid error. Try the following suggestions:

1. Use rpsetup setrpldapmap command (rather than editing manually) to re-build the LDAP configuration file config.ini, and the mapping section should look like:


[LDAP_ReqPro_Map]

ldap_user_attribute=samAccountName

reqpro_user_field=1


2. If there is a space in the base search (-b), the entire base search has to be enclosed in single quotes. Use this command:

rpsetup setldapsearch <configfile> "-s sub -b 'ou=User Accounts,dc=domainname,dc=com' \"samAccountName=%login%\""


3. Bind DN (-D) has to be a DN. Please consult the LDAP administrator to find the DN of the user "user@domainname.com". Also remember that if the user's DN has spaces then the entire DN has to be enclosed within single quotes. Generally the user DN format is like the base search.


[{"Product":{"code":"SSSHCT","label":"Rational RequisitePro"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Component":"Lightweight Directory Access Protocol","Platform":[{"code":"PF033","label":"Windows"}],"Version":"2003.06.13;2003.06.14;2003.06.15;2003.06.16;7.0;7.0.0.1;7.0.0.2;7.0.1;7.0.1.1","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
16 June 2018

UID

swg21281288