summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-06-28 21:29:05 +0300
committerAndrew Bartlett <abartlet@samba.org>2010-07-02 10:08:07 +1000
commit73474998e167837002da495993fa75de17e3aecd (patch)
treeb941a34b4ae9ff899bcf2d1d63e3f51e589312fb /source4/dsdb/samdb/ldb_modules
parent682f7a53383f1c72f53fc5238f4ca2db348f9df3 (diff)
downloadsamba-73474998e167837002da495993fa75de17e3aecd.tar.gz
samba-73474998e167837002da495993fa75de17e3aecd.tar.bz2
samba-73474998e167837002da495993fa75de17e3aecd.zip
s4-source4/dsdb/samdb/ldb_modules/util.c Use DSDB_FLAG_NEXT_MODULE flag
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r--source4/dsdb/samdb/ldb_modules/util.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/util.c b/source4/dsdb/samdb/ldb_modules/util.c
index ec07350a0a..ba0c2d9166 100644
--- a/source4/dsdb/samdb/ldb_modules/util.c
+++ b/source4/dsdb/samdb/ldb_modules/util.c
@@ -186,6 +186,7 @@ int dsdb_module_dn_by_guid(struct ldb_module *module, TALLOC_CTX *mem_ctx,
ret = dsdb_module_search(module, tmp_ctx, &res, NULL, LDB_SCOPE_SUBTREE,
attrs,
+ DSDB_FLAG_NEXT_MODULE |
DSDB_SEARCH_SHOW_DELETED |
DSDB_SEARCH_SEARCH_ALL_PARTITIONS |
DSDB_SEARCH_SHOW_DN_IN_STORAGE_FORMAT,
@@ -663,7 +664,7 @@ int dsdb_module_constrainted_update_integer(struct ldb_module *module, struct ld
}
v2 = data_blob_string_const(vstring);
- ret = dsdb_module_modify(module, msg, 0);
+ ret = dsdb_module_modify(module, msg, DSDB_FLAG_NEXT_MODULE);
talloc_free(msg);
return ret;
}
@@ -699,7 +700,7 @@ int dsdb_module_set_integer(struct ldb_module *module, struct ldb_dn *dn,
}
msg->elements[0].flags = LDB_FLAG_MOD_REPLACE;
- ret = dsdb_module_modify(module, msg, 0);
+ ret = dsdb_module_modify(module, msg, DSDB_FLAG_NEXT_MODULE);
talloc_free(msg);
return ret;
}