Univention Bugzilla – Bug 38445
remove_s4_rejected.py should remove DN from 'S4 GUID' table
Last modified: 2021-05-03 21:29:06 CEST
Ticket#2015042921000345 remove_s4_rejected.py only removes the given reject DN from 'S4 rejected' table. It should also remove corresponding rows from 'S4 GUID' table. DELETE FROM 'S4 GUID' WHERE value='%s'" % s4_dn
Got that wrong. 'value' in 'S4 GUID' does contain possible old-dns (moves objects) so one would need to delete by GUID ('key') I think.
This issue has been filled against UCS 4.0. The maintenance with bug and security fixes for UCS 4.0 has ended on 31st of May 2016. Customers still on UCS 4.0 are encouraged to update to UCS 4.3. Please contact your partner or Univention for any questions. If this issue still occurs in newer UCS versions, please use "Clone this bug" or simply reopen the issue. In this case please provide detailed information on how this issue is affecting you.
I just had this again in a support case (Ticket#2019050721000314) and it was a bit tedious to clean up the 'S4 GUID' table. In that case (Bug #49498), without the cleanup, a resync_from_s4 woult find an old, invalid DN in that table and would try to to rename a noexistant DN in OpenLDAP, resulting in the next reject.