Archives of Support Questions (Read Only)

This is an archived board for historical reference. Information and links may no longer be available or relevant
Announcements
This board is archived and read-only for historical reference. To ask a new question, please post a new topic on the appropriate active board.

Does Ranger user group sync support removing users?

avatar
New Member

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
New Member

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
New Member

@Sagar Shimpi Thanks