Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Does Ranger user group sync support removing users?

Solved Go to solution

Does Ranger user group sync support removing users?

New Contributor

Hi,

I want to use Ranger-usersync to import users to ranger with a file (export from LDAP) : https://cwiki.apache.org/confluence/display/RANGER/File+Source+User+Group+Sync+process

I can see that insert and updates work. However, this does support delete user?

The same question if I used usersync with LDAP?

I already saw this article but I can not see if the bug has been corrected : https://community.hortonworks.com/articles/49127/does-ranger-user-group-sync-support-removing-users....

Thanks

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Does Ranger user group sync support removing users?

@Houssam Manik

Yes. We can delete user using Ranger rest api as mentioned in -

https://community.hortonworks.com/questions/1021/how-to-remove-all-external-users-from-the-ranger-r....

I was able to successfully remove the users.

4 REPLIES 4

Re: Does Ranger user group sync support removing users?

@Houssam Manik

Yes. We can delete user using Ranger rest api as mentioned in -

https://community.hortonworks.com/questions/1021/how-to-remove-all-external-users-from-the-ranger-r....

I was able to successfully remove the users.

Re: Does Ranger user group sync support removing users?

New Contributor

Hi @Sagar Shimpi

Thank for your quick reply. Do I need to delete users manually?

Let's say user x has been deleted from LDAP. Can Ranger detects this automatically and delete user x from its DB?

Re: Does Ranger user group sync support removing users?

You need to delete this manually from ranger. Ranger will not detect this automatically.

Re: Does Ranger user group sync support removing users?

New Contributor

@Sagar Shimpi Thanks

Don't have an account?
Coming from Hortonworks? Activate your account here