Support Questions
Find answers, ask questions, and share your expertise

Can not Login internal or LDAP user cloudera manager in CDP 7.1.4

New Contributor

Hi,

Firstly, I make Hue LDAP integration and then Cloudera manager user interface administration->security enter  LDAP information  and cloudera-scm-server restart via console 

 

I am reaching the Cloudera manager interface but it does not accept any users (admin-admin) that I have used before and LDAP users. 

 

I am getting a username password error for all users and passwords.

I try to reset username &password via below link but it did not work.

 

http://mynotesonhadoop.blogspot.com/2017/07/reset-admin-password-on-cloudera-manager.html 

 

I can see below logs in  /var/log/cloudera-scm-server/cloudera-scm-server.log

 

Caused by: org.springframework.ldap.BadLdapGrammarException: Failed to parse DN; nested exception is org.springframework.ldap.core.TokenMgrError: Lexical error at line 1, column 1. Encountered: "(" (40), after : ""
at org.springframework.ldap.core.DistinguishedName.parse(DistinguishedName.java:232)
at org.springframework.ldap.core.DistinguishedName.<init>(DistinguishedName.java:182)
at org.springframework.security.ldap.authentication.BindAuthenticator.bindWithDn(BindAuthenticator.java:116)
at org.springframework.security.ldap.authentication.BindAuthenticator.bindWithDn(BindAuthenticator.java:110)
at org.springframework.security.ldap.authentication.BindAuthenticator.authenticate(BindAuthenticator.java:85)
at org.springframework.security.ldap.authentication.LdapAuthenticationProvider.doAuthentication(LdapAuthenticationProvider.java:187)
... 64 more
Caused by: org.springframework.ldap.core.TokenMgrError: Lexical error at line 1, column 1. Encountered: "(" (40), after : ""
at org.springframework.ldap.core.DnParserImplTokenManager.getNextToken(DnParserImplTokenManager.java:665)
at org.springframework.ldap.core.DnParserImpl.jj_ntk(DnParserImpl.java:264)
at org.springframework.ldap.core.DnParserImpl.attributeTypeAndValue(DnParserImpl.java:83)
at org.springframework.ldap.core.DnParserImpl.rdn(DnParserImpl.java:58)
at org.springframework.ldap.core.DnParserImpl.dn(DnParserImpl.java:23)
at org.springframework.ldap.core.DistinguishedName.parse(DistinguishedName.java:226)
... 69 more

 

 

 
1 REPLY 1

@engerej The issue could lies with JNDI and the fact that it does not handle a group with a leading space.

So check if your groups having space in the name. 


Cheers!
Was your question answered? Make sure to mark the answer as the accepted solution.
If you find a reply useful, say thanks by clicking on the thumbs up button.
; ;