search cancel

LDAP users cannot log in and user bind failed for LDAP when testing

book

Article ID: 257476

calendar_today

Updated On:

Products

CA Performance Management - Usage and Administration

Issue/Introduction

User bind failed for LDAP 

SSO Configuration/DX NetOps:

LDAP Authentication
SAML2 Authentication
Performance Center
Single Sign-On
Test LDAP
Export SAML2 Service Provider Metadata
Enable FIPS
Performance Center Local Password Authentication
Enable or Disable a user account.
Choose an option > 5

 

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 = LDAPS://ldapserver.tld:636/

ldapTimeout = 10000

DirContext.SECURITY_AUTHENTICATION = simple

DirContext.SECURITY_PRINCIPAL = CN=cnhere,OU=ou1,OU=ou2,DC=dom,DC=tld

DirContext.SECURITY_CREDENTIALS set

Could not obtain a DirectoryContext.

javax.naming.CommunicationException: simple bind failed: ldapserver.tld:636 [Root exception is java.net.SocketException: Connection or outbound has closed]

 

Bind to the directory failed.

Environment

Release : 22.2

Cause

The LDAP server certificate is incorrect or missing

Resolution

Re-import the LDAP certificate per the documentation.