summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamenim@samba.org>2010-06-28 21:25:28 +0300
committerAndrew Bartlett <abartlet@samba.org>2010-07-02 10:07:27 +1000
commitb29921b82ea34f307f04acb86afe64f33a69ab1e (patch)
treeb0f78c0843c39f8d9c15df2bc9b6db4f4d06bc2c /source4/dsdb/samdb/ldb_modules
parentf570eec26432a66d7fbc2a70017b3df8dbdd1e89 (diff)
downloadsamba-b29921b82ea34f307f04acb86afe64f33a69ab1e.tar.gz
samba-b29921b82ea34f307f04acb86afe64f33a69ab1e.tar.bz2
samba-b29921b82ea34f307f04acb86afe64f33a69ab1e.zip
s4-dsdb/samdb/ldb_modules/linked_attributes.c: make use of 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/linked_attributes.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/linked_attributes.c b/source4/dsdb/samdb/ldb_modules/linked_attributes.c
index c204571133..8648ab3bfd 100644
--- a/source4/dsdb/samdb/ldb_modules/linked_attributes.c
+++ b/source4/dsdb/samdb/ldb_modules/linked_attributes.c
@@ -684,7 +684,7 @@ static int linked_attributes_fix_links(struct ldb_module *module,
return ret;
}
- ret = dsdb_module_modify(module, msg, DSDB_MODIFY_RELAX);
+ ret = dsdb_module_modify(module, msg, DSDB_FLAG_NEXT_MODULE | DSDB_MODIFY_RELAX);
if (ret != LDB_SUCCESS) {
ldb_asprintf_errstring(ldb, "Linked attribute %s->%s between %s and %s - update failed - %s",
el->name, target->lDAPDisplayName,
@@ -978,7 +978,7 @@ static int la_do_op_request(struct ldb_module *module, struct la_context *ac, st
ldb_ldif_message_string(ldb, op, LDB_CHANGETYPE_MODIFY, new_msg)));
}
- ret = dsdb_module_modify(module, new_msg, 0);
+ ret = dsdb_module_modify(module, new_msg, DSDB_FLAG_NEXT_MODULE);
if (ret != LDB_SUCCESS) {
ldb_debug(ldb, LDB_DEBUG_WARNING, "Failed to apply linked attribute change '%s'\n%s\n",
ldb_errstring(ldb),