Bug 13799 - samba-tool domain schemaupgrade uses relax control and skips the schemaInfo update
samba-tool domain schemaupgrade uses relax control and skips the schemaInfo u...
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB
4.10.0rc2
All All
: P5 normal
: ---
Assigned To: Andrew Bartlett
Samba QA Contact
:
Depends on: 12204
Blocks:
  Show dependency treegraph
 
Reported: 2019-02-20 19:20 UTC by Stefan Metzmacher
Modified: 2019-02-20 19:20 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Stefan Metzmacher 2019-02-20 19:20:57 UTC
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.