From e669295a37b9900c58707bfd5bce55197655ed95 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Matthias=20Dieter=20Walln=C3=B6fer?= Date: Sat, 5 Mar 2011 13:56:10 +0100 Subject: [PATCH] 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. --- source4/dsdb/samdb/ldb_modules/repl_meta_data.c | 3 +-- 1 file changed, 1 insertion(+), 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 fb87fd326578..81b06fd6bac8 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); } } -- 2.34.1