Deleting a user from the GUI with LDAP Integration in Owncloud Latest (4.5.6).
As mentioned here - http://forum.owncloud.org/viewtopic.php?f=3&t=8260
If an LDAP user is removed from an Active Directory Group that is used to control access to OwnCloud, this does not remove that user from OwnCloud backend DB.
It should be noted also that using the "delete" option from the OwnCloud Users Page (In Admin settings) does not work (it appears to remove the user) but as soon as you navigate away to any other page and then back to users, the user re-appears.
Another observaion is that if the files a deleted user uploaded still exists (if a user is created with the same username), the new user will automatically get all the files from the deleted user.
That issue is a showstopper for us! We have to be able to delete all data from a (LDAP) customer. A fix would be highly appreciated ...
(The user should be deleted automatically as soon as the LDAP User is removed from the LDAP-Server. We have got more than 14000 Users with a daily fluctuation, an automatic solution would be perfect :-) )
@blizzz Can you please comment on the LDAP portion? THX
@karlitschek We had this issue already in the past concerning user data not being deleted after the user has been removed. Should we aim for a solution within OC5?
Yes. That's an obvious feature that we have to have. Not sure if we can do it in ownCloud 5 because of the feature freeze. @meetClarkKent Can you send me an email to [email protected] to see how we can help?
Regarding LDAP: we could only now whether a user exists or not by regularly checking all the available LDAP users and comparing results. We do not do this. Thus, user entries will not be removed from the mappings table. However, this entry ensures that a new users cannot by accident get the home of a "past" user (esp. up to 4.5, since new users from OC 5 on not likely to happen because of changed generation of internal names thanks to seperation with display names).
As we do not write to LDAP, those things do not work in the user UI:
- deletion of users
- assign/withhold of LDAP groups (works with local groups to LDAP users)
- changing the display name
- changing the password
- overwriting a quota provided by LDAP (if configured)
P.S.: That these options are shown is a disadvantage of the User UI indeed.
I’m closing this issue because it has been inactive for a few months. This probably means it’s not reproducible or it has been fixed in a newer version.
Please reopen if the error still persists with the latest stable version (currently ownCloud 5.0.9) and then please use the issue template. You an also contribute directly by providing a patch – see the developer manual. :)
Thank you!