DPA LDAP login Error occurred while testing user authentication javax.naming.CommunicationException com:389 [Root exception is java.net.UnknownHostException: com]
|Article Number: 538426|
|Article Type: Break Fix|
|Last Published: 12 Mar 2020|
|Summary: DPA LDAP/AD login fails with Error occurred while testing user authentication javax.naming.CommunicationException com:389 [Root exception is java.net.UnknownHostException: com]|
Testing an LDAP user login in DPA fails to authenticate.
The following error was found in the server.log:
2019-10-29 11:32:36,084 WARN [com.emc.apollo.command.ldapconfig.LDAPAuthenticationStrategy] (Thread-693556 (HornetQ-client-global-threads-1229490968)) Error occurred while testing user authentication.: javax.naming.CommunicationException: com:389 [Root exception is java.net.UnknownHostException: com]
This error is due to an incorrect value for Base Name in the LDAP settings in DPA.
The format for the Base Name field should DC=company,DC=com.
If for example, DN=company,DC=com was entered, the DN= part will be ignored and this will cause LDAP to search for a domain of "com".
The value that is typed must be the Distinguished Name of the base of the directory, for example, DC=eng,DC=company,DC=com.
On the Domain Controller, use dsquery command to verify, like in the following example:
> dsquery user -name "Test User"
"CN=Test User,OU=DPA Admins,DC=dpasupport,DC=lab"
Only the DC (Domain Component) values are entered into the Base Name field, here it is "DC=dpasupport,DC=lab"
Below is the screenshot of an incorrect setting:
Change the Base Name to dc=dpasupport,dc=lab as seen below. This will resolve this issue and allow user log in to authenticate.
Please contact Dell Technical Support for further details.
Fri Nov 01 2019
Data Protection Advisor
Data Protection Advisor,Data Protection Advisor 18.2