Created attachment 14498 [details] Patch for dbcheck module The current code would only work for the first rid set ever given to a DC because the names are so misleading.
Thanks Daniel for uploading my patch from https://lists.samba.org/archive/samba/2018-September/218514.html This is finally being included in a merge request, so this will finally be fixed!
This bug was referenced in samba master: 4feb353f7050a81e723906e61a3873c5973e512b
Fixed in Samba 4.15.