LDAP test running from SSoConfig failing
search cancel

LDAP test running from SSoConfig failing

book

Article ID: 279855

calendar_today

Updated On:

Products

Network Observability

Issue/Introduction

After configuring the LDAP server, when we run SsoConfig and choose 5 "Test LDAP" it is failing. See below:

5. Test LDAP
6. Export SAML2 Service Provider Metadata
7. Enable FIPS
8. Performance Center Local Password Authentication
9. Enable or Disable a user account.
Choose an option > 5

SSO Configuration/DX NetOps/Test LDAP
Enter username > username
Enter password >
We will now attempt to bind to the supplied LDAP server using the LdapConnectionUser and LdapConnectionPassword supplied in the SSO Config utility.
ldapSearchDomain = //LDAPServer:3269/
ldapTimeout = 1000
DirContext.SECURITY_AUTHENTICATION = simple
DirContext.SECURITY_PRINCIPAL = XXXXXXX
DirContext.SECURITY_CREDENTIALS set
Could not obtain a DirectoryContext.
javax.naming.NamingException: Cannot parse url: //LDAPServer:3269/ [Root exception is java.net.MalformedURLException: Not an LDAP URL: //LDAPServer:3269/]

Bind to the directory failed.

Environment

Version: Any

Cause

Missing ldaps:// in the LDAP url

Resolution

Add ldaps:// to the LDAP hostname for the LDAP URL

For example, if the LDAP hostname is "LDAPServer" then use "ldaps://LDAPServer".