Auto Delete Users not in LDAP Source
Automatically delete users not in LDAP source
Hello,
This is a fantastic bit of software so just want to start off by saying thanks! :)
I was wondering if it's possible to automatically delete people in Snipe-IT as part of the LDAP sync. For example I work in education and we obviously have a huge turnover of students and staff every year and I would like to have the system automatically delete people that no longer appear in the LDAP source. The people would get deleted automatically if they don't have any assets assigned to them. Otherwise, they would get flagged as deleted but with assets still checked out.
I am hoping that this makes sense.
Thanks! :)
That is an interesting idea, personally I would rather it flagged only and not completed automated but we are only working with staff assets. I haven't tested what happens when a account is removed, have you?
If you manually delete a person it it still visible by clicking "Show deleted users". That way audit trails/logs are still valid.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions!
Is this still an option? We deal with a lot of users starting and leaving and will need to know which assets have been assigned to users that have recently left. Since our process involves moving the AD accounts to a different group, the user accounts in SnipeIT should be removed if the source user account doesn't exist.
+1 I would like to see this feature, when people are gone from our LDAP server I would like to be able to prune accounts that are no longer present.
+1 It would be helpful if there were an indicator that the user was not in the AD anymore.
+1 It would be helpful if I delete a user from AD, after LDAP sync that account will be disabled - it shouldn't be deleted because of assign assets etc ;)
+1 Delete or flag, anything would be great to facilitate in auto deletion of users that are deleted from LDAP source.
+1 Just looking for this functionality and found this thread. The same with departments would be awesome.
+1 Still would really like this feature. The whole point of using a separate account service is to not have to manage users for every application used.
+1
Most folks are transitioning to SAML/SCIM, away from LDAP. This is a surprisingly challenging problem to solve via LDAP, since whatever behavior we choose, some subset of users will be expecting the opposite or different behavior.
It would be great if you implement automatic deletion of deleted users not found in the Active Directory.
Most folks are transitioning to SAML/SCIM, away from LDAP. This is a surprisingly challenging problem to solve via LDAP, since whatever behavior we choose, some subset of users will be expecting the opposite or different behavior.
Yet lot of companies are still relining on LDAP and Active Directory.
Hi all, Thanks for the update. Echoing others, automatic user deletion via LDAP sync is crucial for us too. While SAML/SCIM is gaining traction, LDAP remains vital for many. Configurable auto-deletion with safeguards would be amazing! Happy to test/contribute.
+1 was just making a list of the users that recently left the company - the "auto-delete" would be a good feature (a script or command that can be used manually / via scheduled task would suffice as well)
Considering that Snipe-IT has an API : should it be possible to create a cron job that checks LDAP/AD users with the same LDAP filter used in Snipe-IT, compares with users in Snipe-IT and removes/disables/tags or whatever the users that are misssing or disabled in LDAP/AD ? Anyone who has tried this?
I am down for a cron job if someone knows how to do it. I was hoping by now this would have been something that could be left off for those who didn't want it or turned on/configured for those who did. However, i do not know anything about how thats all done on the backend or how feasible this request is, but it would be great to not have to always delete users out, but instead have that automated like our other systems that sync with AD.
Any update about this?? This is really essential
+1 if this is ever available