[
https://issues.apache.org/jira/browse/RANGER-756?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sailaja Polavarapu updated RANGER-756:
--------------------------------------
Summary: LdapTool fails with -r option to retrieve only users/group/all
(was: Authentication fails with -r option to retrieve only users/group/all)
> LdapTool fails with -r option to retrieve only users/group/all
> --------------------------------------------------------------
>
> Key: RANGER-756
> URL: https://issues.apache.org/jira/browse/RANGER-756
> Project: Ranger
> Issue Type: Bug
> Components: usersync
> Affects Versions: 0.5.1
> Reporter: Sailaja Polavarapu
> Assignee: Sailaja Polavarapu
> Fix For: 0.5.1, 0.6.0
>
>
> use ldap tool and specify -r option ( user/all/groups)
> ./run.sh -i conf/input.properties -r users
> it fails get following error:
> ERROR: LDAP Authentication Failed:
> org.springframework.security.authentication.InternalAuthenticationServiceException:
> Failed to parse DN; nested exception is
> org.springframework.ldap.core.TokenMgrError: Lexical error at line 1, column
> 1. Encountered: "=" (61), after : ""
> ERROR: Failed to authenticate User0001
> gateway Node: 172.22.90.190
> NOTE:
> but if specifying -d with -r option ( user/all/groups) then not getting this
> exception , but in that case there is some other issue even if -r is with
> users or groups then also it retrieve both users & groups
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)