SsoConfig LDAP test is failing For input string: ""
search cancel

SsoConfig LDAP test is failing For input string: ""

book

Article ID: 268396

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration DX NetOps

Issue/Introduction

The SsoConfig LDAP test is failing.

SSO Configuration/DX NetOps/Test LDAP
Enter username > <username>
Enter password >
The UserBind option has been selected. We will now perform the first bind with the LdapConnectionUser and LdapConnectionPassword supplied in the SSO Config utility.
ldapSearchDomain = LDAP://<LDAP_IP>
ldapTimeout =
DirContext.SECURITY_AUTHENTICATION = simple
Could not read the provided ldapEncryption mechanism. Defaulting to SIMPLE authentication
DirContext.SECURITY_PRINCIPAL = CN=xxxxxx,CN=Users,DC=corp,DC=yyyyyy,DC=com,DC=br
DirContext.SECURITY_CREDENTIALS set
Could not obtain a DirectoryContext.
javax.naming.NamingException [Root exception is java.lang.NumberFormatException: For input string: ""]
Uncaught Exception: common.sso.LdapAuthentication.appendMessageDetails(LdapAuthentication.java:260)
common.sso.LdapAuthentication.performSIMPLEorDIGESTauth(LdapAuthentication.java:243)
common.sso.LdapAuthentication.loginAndConnect(LdapAuthentication.java:377)



Environment

Release : 22.2

Cause

The timeout parameter was cleared (empty)

Resolution

Added it back and the issue was fixed.

Set the Timeout parameter to 10000

Additional Information

Timeout parameter does not throw any exception when it is empty. It will be fixed the in upcoming new PM release (22.2.11 or above).