mirror of
https://github.com/samba-team/samba.git
synced 2025-05-28 21:05:48 +03:00
s4/schema: Do not assign msDS-IntId value if LDB_CONTROL_RELAX_OID is passed
This way msDS-IntId should not be assigned during provisioning, which is how Windows works
This commit is contained in:
parent
73838b353a
commit
6247a135c6
@ -290,6 +290,11 @@ static int schema_data_add(struct ldb_module *module, struct ldb_request *req)
|
||||
}
|
||||
}
|
||||
|
||||
/* bypass further processing if CONTROL_RELAX is set */
|
||||
if (ldb_request_get_control(req, LDB_CONTROL_RELAX_OID)) {
|
||||
return ldb_next_request(module, req);
|
||||
}
|
||||
|
||||
/* generate and add msDS-IntId attr value */
|
||||
if (attributeID
|
||||
&& (dsdb_functional_level(ldb) >= DS_DOMAIN_FUNCTION_2003)
|
||||
|
Loading…
x
Reference in New Issue
Block a user