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:
parent
c581ab3ac5
commit
10e7c749e7
@ -179,7 +179,7 @@ static int dsdb_notification_filter_search(struct ldb_module *module,
|
|||||||
* It's the first time, let the caller comeback later
|
* It's the first time, let the caller comeback later
|
||||||
* as we won't find any new objects.
|
* 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);
|
down_tree = talloc_zero(req, struct ldb_parse_tree);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user