diff options
author | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-03-05 13:56:10 +0100 |
---|---|---|
committer | Matthias Dieter Wallnöfer <mdw@samba.org> | 2011-03-10 11:12:05 +0100 |
commit | e669295a37b9900c58707bfd5bce55197655ed95 (patch) | |
tree | 13ac14a2c8e6de3d634bdae8818c0d6e8792c43d /source4/dsdb/samdb/ldb_modules | |
parent | e754f0c5c6add20f8f2217033205432597d133fd (diff) | |
download | samba-e669295a37b9900c58707bfd5bce55197655ed95.tar.gz samba-e669295a37b9900c58707bfd5bce55197655ed95.tar.bz2 samba-e669295a37b9900c58707bfd5bce55197655ed95.zip |
s4:repl_meta_data LDB module - don't remove the partition control twice
"controls" is already the controls list which has the partition control
removed. It is generated by "ldb_controls_except_specified" in line 378.
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/repl_meta_data.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c index fb87fd3265..81b06fd6ba 100644 --- a/source4/dsdb/samdb/ldb_modules/repl_meta_data.c +++ b/source4/dsdb/samdb/ldb_modules/repl_meta_data.c @@ -452,8 +452,7 @@ static int replmd_op_callback(struct ldb_request *req, struct ldb_reply *ares) * common path. Other cases will have it cleaned up * eventually with the ares */ talloc_free(partition_ctrl); - return ldb_module_done(ac->req, - ldb_controls_except_specified(controls, ares, partition_ctrl), + return ldb_module_done(ac->req, controls, ares->response, LDB_SUCCESS); } } |