Because of the way the rename is handled in the lab domain creation tool 'samba-tool domain backup rename' a dangling link to an expunged object will point outside our NCs once the rename is complete. This causes an un-handled exception in part of dbcheck used to finish the rename work. We may choose to try and handle this in the rename tool in the future, but for now this avoids crashing out the whole rename.
Created attachment 16150 [details] patch from master backported to 4.12
Created attachment 16151 [details] patch from master backported to 4.13
Created attachment 16152 [details] patch from master backported to 4.11
Karolin, Please select for the next 4.11, 4.12 and 4.13 releases. Thanks!
(In reply to Andrew Bartlett from comment #4) Pushed to autobuild-v4-{13,12,11}-test.
(In reply to Karolin Seeger from comment #5) Pushed to all branches. Closing out bug report. Thanks!