mirror of
https://github.com/samba-team/samba.git
synced 2025-03-12 20:58:37 +03:00
r12763: Oops. If you call ldb_search from within an ldb module's search
request handler, you really have to watch the recursion issues... Andrew Bartlett (This used to be commit 46628e86a2be6d334b2d0427e7052517c7ab1d4c)
This commit is contained in:
parent
8c9d212f2a
commit
1162b37ff0
@ -91,7 +91,9 @@ static int kludge_acl_search(struct ldb_module *module, struct ldb_request *req)
|
||||
struct kludge_private_data *data = talloc_get_type(module->private_data, struct kludge_private_data);
|
||||
int i, j;
|
||||
|
||||
if (ret != LDB_SUCCESS) {
|
||||
/* We may not be fully initialised yet, or we might have just
|
||||
* got an error */
|
||||
if (ret != LDB_SUCCESS || !data->password_attrs) {
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user