The schemaInfo attribute on the schema partition is not updated when 'samba-tool domain schemaupgrade' is called as is uses the relax control. This should not use the relax control and the samldb module should not skip the schemaInfo update when the relax control is used and a schema is already available. We need tests to demonstrate that any schema change triggers the schemaInfo attribute update. We may also need dbcheck code to fix that mistake.
Created attachment 15079 [details] Patches for v4-10-test
Created attachment 15080 [details] Patches for v4-9-test (without test) samdb: test for schemainfo update with relax control e34abefb77729330cd48bc039c82b03fe545f8a9 can't be backported easily
Pushed to autobuild-v4-{9,10}-test.
(In reply to Karolin Seeger from comment #3) Pushed to both branches. Closing out bug report. Thanks!