mirror of
https://github.com/samba-team/samba.git
synced 2025-08-13 05:49:31 +03:00
s4-dbcheck: Always specify the dhcheck control
This will then allow us to make schema modifications, overriding the default ban. Andrew Bartlett
This commit is contained in:
@ -118,6 +118,7 @@ class dbcheck(object):
|
||||
if self.verbose:
|
||||
self.report(self.samdb.write_ldif(m, ldb.CHANGETYPE_MODIFY))
|
||||
try:
|
||||
controls = controls + ["local_oid:%s:0" % dsdb.DSDB_CONTROL_DBCHECK]
|
||||
self.samdb.modify(m, controls=controls, validate=validate)
|
||||
except Exception, err:
|
||||
self.report("%s : %s" % (msg, err))
|
||||
|
Reference in New Issue
Block a user