Número del artículo: 538426

printer Imprimir mail Correo electrónico

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

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

Producto principal: Data Protection Advisor

Producto: Data Protection Advisor más…

Fecha de la última publicación: 12 mar. 2020

Tipo de artículo: Break Fix

Estado publicado: En línea

Versión: 3

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

Contenido del artículo

Problema


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]
 
Causa
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".
Resolución
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.
 
Notas

Problema


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]
 
Causa
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".
Resolución

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.
 

Notas

Article Attachments

Adjuntos

Adjuntos

Propiedades del artículo

Publicado por primera vez

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

Publicado por primera vez

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

Califique este artículo

Preciso
Útil
Fácil de comprender
¿Este artículo fue útil?
0/3000 characters