]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
dsdb: Add comment explaining requirements on DSDB_EXTENDED_SCHEMA_UPDATE_NOW_OID
authorAndrew Bartlett <abartlet@samba.org>
Sat, 10 Jun 2017 07:23:34 +0000 (19:23 +1200)
committerStefan Metzmacher <metze@samba.org>
Fri, 16 Jun 2017 21:43:46 +0000 (23:43 +0200)
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Autobuild-User(master): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(master): Fri Jun 16 23:43:46 CEST 2017 on sn-devel-144

source4/dsdb/samdb/ldb_modules/schema_load.c

index 6ffa4650dd944d06535563d426aac1f02fc5547f..a2f8e57b29c0d46a3d3124838868ddc5fd40f4bb 100644 (file)
@@ -512,12 +512,13 @@ static int schema_load_del_transaction(struct ldb_module *module)
        return ldb_next_del_trans(module);
 }
 
+/* This is called in a transaction held by the callers */
 static int schema_load_extended(struct ldb_module *module, struct ldb_request *req)
 {
        struct ldb_context *ldb = ldb_module_get_ctx(module);
        struct dsdb_schema *schema;
        int ret;
-       
+
        if (strcmp(req->op.extended.oid, DSDB_EXTENDED_SCHEMA_UPDATE_NOW_OID) != 0) {
                return ldb_next_request(module, req);
        }