Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

after deleting user and group from openLDAP server its shows in ambari and ranger

avatar
Expert Contributor

HI,

I have configured openLDAP Server. I have synced LDAP users and groups with ranger as well as ambari.

After deleting the users and groups from openLDAP server, it do not deletes from Ambari and ranger databases.

It do not allow to login using deleted user but it shows in UI.

How to automatically delete users and groups from Ambari and ranger database when users and groups are deleted from openLDAP Server ?

Thank You.

1 ACCEPTED SOLUTION

avatar
Expert Contributor
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login
2 REPLIES 2

avatar
Expert Contributor

If users and groups are deleted in openLDAP server you should use 'existing' mode with ambari ldap sync:

ambari-server sync-ldap --existing

https://docs.hortonworks.com/HDPDocuments/Ambari-2.6.0.0/bk_ambari-security/content/existing_users_a...

avatar
Expert Contributor
hide-solution

This problem has been solved!

Want to get a detailed solution you have to login/registered on the community

Register/Login