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

Ranger USersync - Username Attribute - cn



I am trying to retrieve a specific field from my LDAP directory (cn), but it doesn't seem to be taken into account by the Ranger usersync process when I specify the following value "cn" to the variable "Username Attribute"

Though this value seems allowed (possible values : uid or cn) it doesn't work on my HDP; I still see the field "uid" feeding the Ranger database.

Is it a bug or did I miss something ?


Thanks in advance for your insights.



Make sure your username attribute is actually "cn"... mine is sAMAccountName and my User Search Filter is:

CN=Matison\, Steven R

If your username attribute is correct, then in User Search Filter should be


If you are not already doing so, make sure you are tailing the usersync log while testing these settings.

Take a Tour of the Community
Don't have an account?
Your experience may be limited. Sign in to explore more.