Support Questions

Find answers, ask questions, and share your expertise

why deleted ldap users/groups shows in Ambari ?

Expert Contributor

Hello,

I am using Hortonworks Data Cloud on AWS. I have created cluster with one master node and two worker nodes.

On master node I have configured openLDAP Server and on workers openLDAP clients.

when I delete some user and group from the LDAP, It must be delete from the Ambari also. But when I checked in Ambari the deleted users and groups are still shwoing in Ambari.

Then I tried to login Ambari using deleted user but i was unable to login.

How to remove ldap deleted user/group from Ambari when it removes from LDAP automatically ?

Thank You.

5 REPLIES 5

Contributor

Hi @heta desai . When you sync LDAP users in Ambari, it (Ambari) saves the data into its database. So, when you delete LDAP users it doesn't reflect on the UI as they are not deleted from Ambari's database.

Expert Contributor

Hi @Sparsh Singhal

So How to update the Ambari's Database to reflect the changes in Ambari UI ?

Contributor
@heta desai

Well, you may have to do that manually. For a scripting alternative, please have a look at this link.

Expert Contributor

@Sparsh Singhal

Will try the solution given in the link you have provided.

Thank You.

Contributor
@heta desai

Also, since ambari users are not synced very regularly, you can also set up a periodic cron job that syncs all user again.