go-ldap / ldap

Basic LDAP v3 functionality for the GO programming language.
Other
2.25k stars 355 forks source link

Deleted Users, Removed Members of Group, Updated Attributes #435

Open badari-narayana opened 1 year ago

badari-narayana commented 1 year ago

I am not able to get the following 3 requirements.

  1. I am not getting the Deleted Users List from the AD. For this I am using isDeleted=TRUE in the filter while searching but still I can't able to get the deleted user from AD which are present in CN=Deleted Objects,DC=zdirectory,DC=online.

  2. Removed members of the Group are not comming. I am having a requirement that I need to get the Users list which are recently removed from the Group.

  3. I am not able to get updated attributes alone. While doing search in filter i am using usnChanged>=...... or whenChanged>=........ But by using this i am getting the users/groups which are got updated but with all the Attributes. For this is there any possible way to get only changed Attributes of user/groups.