Created 05-19-2018 08:06 AM
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 ?
Created 05-20-2018 05:39 AM
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.
Created 05-21-2018 05:54 AM
Created 05-21-2018 07:41 AM
Well, you may have to do that manually. For a scripting alternative, please have a look at this link.
Created 05-21-2018 10:20 AM
Created 05-21-2018 12:55 PM
Also, since ambari users are not synced very regularly, you can also set up a periodic cron job that syncs all user again.