From: Andrew Bartlett Date: Wed, 31 May 2017 00:22:28 +0000 (+1200) Subject: dsdb: Correctly call ldb_module_done in dsdb_notification X-Git-Tag: ldb-1.1.31~71 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=10e7c749e7b7a4155669c6ecf97a9ac52b13110a;p=thirdparty%2Fsamba.git dsdb: Correctly call ldb_module_done in dsdb_notification If we just call ldb_request_done() then we never call the callback. Signed-off-by: Andrew Bartlett Reviewed-by: Garming Sam --- diff --git a/source4/dsdb/samdb/ldb_modules/dsdb_notification.c b/source4/dsdb/samdb/ldb_modules/dsdb_notification.c index 19ae9dbdf53..ef92eac79d5 100644 --- a/source4/dsdb/samdb/ldb_modules/dsdb_notification.c +++ b/source4/dsdb/samdb/ldb_modules/dsdb_notification.c @@ -179,7 +179,7 @@ static int dsdb_notification_filter_search(struct ldb_module *module, * It's the first time, let the caller comeback later * as we won't find any new objects. */ - return ldb_request_done(req, LDB_SUCCESS); + return ldb_module_done(req, NULL, NULL, LDB_SUCCESS); } down_tree = talloc_zero(req, struct ldb_parse_tree);