1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-28 01:58:17 +03:00

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 <abartlet@samba.org>
Reviewed-by: Garming Sam <garming@catalyst.net.nz>
This commit is contained in:
Andrew Bartlett 2017-05-31 12:22:28 +12:00 committed by Garming Sam
parent c581ab3ac5
commit 10e7c749e7

View File

@ -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);