Created 09-07-2017 01:58 PM
Hello,
I'm currently stuck on trying to configure ranger-usersync properly with our Active Directory.
Platform: HDP 2.6.1.0 on RHEL 7 with Ambari 2.5.1.0
I followed this article:
I want to use "Group based search".
The sync works fine when “Enable User Search” is set to “false”.
Problem is that the outcome is the CN of the user, which equals "[first name] [last name] [someID]".
This in turn cannot be mapped by HDFS to Kerberos tickets, which equal [someID]@EXAMPLE.DOMAIN.COM.
Therefore I want to enable "User Search" with this configuration:
ranger.usersync.ldap.user.nameattribute = sAMAccountName ranger.usersync.ldap.user.objectclass = person ranger.usersync.ldap.searchbase = DC=EXAMPLE,DC=DOMAIN,DC=COM ranger.usersync.ldap.searchfilter = sAMAccountName=* ranger.usersync.ldap.searchscope = sub ranger.usersync.ldap.user.groupnameattribute = memberof,ismemberof ranger.usersync.group.usermapsyncenabled = true ranger.usersync.user.searchenabled = true
Configuration for groups is the same as mentioned in the article.
--> Goal is to fetch the groups using Attribute cn and fetch all members of those groups as received per the attribute "member". And to create the users from this, bu create them using the attribute "sAMAccountName" of the user.
Hope somebody can help me, thanks!
Created 09-08-2017 11:32 PM
This issue has been fixed recently (https://issues.apache.org/jira/browse/RANGER-1632).
Created 09-07-2017 01:58 PM
Seem like I found the basic problem:
when I disable "incremental sync", the users are created correctly.
Is this desired behaviour or a bug?
Created 09-08-2017 11:32 PM
This issue has been fixed recently (https://issues.apache.org/jira/browse/RANGER-1632).
Created 09-11-2017 05:45 AM
Thanks! didn't see that issue, awesome that it's already fixed in 0.7.2