Numéro d’article: 538426

printer Imprimer mail E-mail

DPA LDAP login Error occurred while testing user authentication javax.naming.CommunicationException com:389 [Root exception is java.net.UnknownHostException: com]

Résumé: DPA LDAP/AD login fails with Error occurred while testing user authentication javax.naming.CommunicationException com:389 [Root exception is java.net.UnknownHostException: com]

Produit principal: Data Protection Advisor

Produit: Data Protection Advisor plus…

Dernière publication: 12 mars 2020

Type d’article: Break Fix

État publié: En ligne

Version: 3

DPA LDAP login Error occurred while testing user authentication javax.naming.CommunicationException com:389 [Root exception is java.net.UnknownHostException: com]

Contenu de l’article

Problème


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]
 
Cause
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".
Résolution
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:

User-added image


Change the Base Name to dc=dpasupport,dc=lab as seen below. This will resolve this issue and allow user log in to authenticate.


User-added image


Please contact Dell Technical Support for further details.
 
Notes

Problème


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]
 
Cause
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".
Résolution

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:

User-added image


Change the Base Name to dc=dpasupport,dc=lab as seen below. This will resolve this issue and allow user log in to authenticate.


User-added image


Please contact Dell Technical Support for further details.
 

Notes

Article Attachments

Pièces jointes

Pièces jointes

Propriétés de l’article

Première publication

ven. nov. 01 2019 20:39:39 GMT

Première publication

ven. nov. 01 2019 20:39:39 GMT

Noter cet article

Précis
Utile
Facile à comprendre
Avez-vous trouvé cet article utile ?
0/3000 characters