Er funktioniert allerdings nur bei Konten die wir nach der Aktivierung angelegt haben. Ältere Konten werden nicht darin gesichert. Wir haben die beiden LDAP-Objekte miteinander verglichen. Es gibt nur einen strukturellen Unterschied, im Objekt vorher gibt es einen Eintrag “sambaPasswordHistory”, den es nach dem Neuanlegen nicht mehr gibt. Dafür gibt es jetzt einen Eintrag “pwhistory”. Sonst sehen beide Objekte gleich aus.
Ist das ein generelles Problem oder was kann ich tun, damit bei uns auch die vor der Aktivierung des Papierkorbs angelegten Konten darin landen?
It’s a UCS@school system and we followed the steps from the linked document above. Sorry, I don’t find an english version of it.
After activating the recycle bin and creating and deleting new users, works fine. Deleting users, which where created before the actviation of the recycle bin, these do not show up there.
The cause is that the Recycle Bin listener module is deactivated by default. When it is activated later, existing users and groups are not associated with it in the listener cache, so their deletion is never passed to it. Objects created or modified after the activation work fine.
To fix this, run the following on the Primary Directory Node (with listener/module/recyclebin/deactivate=false already set):
This restarts the Univention Directory Listener and re-initializes only the Recycle Bin module. It doesn’t change any LDAP objects or create Recycle Bin entries. While it runs, the listener on the Primary doesn’t process other changes; they’re handled afterwards. In large environments this can take a while, so doing this in a quiet time is preferable. You can check that it’s done with univention-directory-listener-ctrl status (module recyclebin shows state 3) or in /var/log/univention/listener.log.
Objects deleted before the resync can’t be recovered this way.
thanks a lot for your explanation. It worked well.
This step would also be good to find in the documentation (in the German part under 6.10.2.). I gues a lot of people are activiating the recycle bin in existing environments.