文章編號: 538426

printer 列印 mail 電子郵件

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

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

主要產品: Data Protection Advisor

產品: Data Protection Advisor 更多...

上次發佈時間: 12 3月 2020

文章類型: Break Fix

發佈狀態: 線上

版本: 3

DPA LDAP login 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:

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.
 
附註

問題


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:

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.
 

附註

Article Attachments

附件

附件

文章屬性

首次發佈日期

週五 11月 01 2019 20:39:39 GMT

首次發佈日期

週五 11月 01 2019 20:39:39 GMT

為本文評分

準確
實用
易懂
這篇文章對您有用嗎?
0/3000 characters