Support Questions

Find answers, ask questions, and share your expertise

Does Ranger user group sync support removing users?

avatar
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

avatar
Super Guru
@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.

View solution in original post

4 REPLIES 4

avatar
Super Guru
@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.

avatar
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?

avatar
Super Guru

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

avatar
Contributor

@Sagar Shimpi Thanks