summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb/ldb_modules
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2006-01-08 13:50:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:49:52 -0500
commitbdc7d03c9c4e23af21c5a3f43b5470f196417af0 (patch)
treea1c2cbc9b45460d1eaab395427c80302eae9dea1 /source4/dsdb/samdb/ldb_modules
parentd94259666d995c6b743ecff56826b30903fe1c5d (diff)
downloadsamba-bdc7d03c9c4e23af21c5a3f43b5470f196417af0.tar.gz
samba-bdc7d03c9c4e23af21c5a3f43b5470f196417af0.tar.bz2
samba-bdc7d03c9c4e23af21c5a3f43b5470f196417af0.zip
r12769: Make ldb_next_request() evident, I was much confused on first sight
Simo. (This used to be commit 2f0c7b896274e5e15e150c70d7ebe70355f6c4c0)
Diffstat (limited to 'source4/dsdb/samdb/ldb_modules')
-rw-r--r--source4/dsdb/samdb/ldb_modules/kludge_acl.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/kludge_acl.c b/source4/dsdb/samdb/ldb_modules/kludge_acl.c
index cc6a0d18f4..5d982d0842 100644
--- a/source4/dsdb/samdb/ldb_modules/kludge_acl.c
+++ b/source4/dsdb/samdb/ldb_modules/kludge_acl.c
@@ -85,11 +85,13 @@ static enum user_is what_is_user(struct ldb_module *module)
/* search */
static int kludge_acl_search(struct ldb_module *module, struct ldb_request *req)
{
- enum user_is user_type;
- int ret = ldb_next_request(module, req);
- struct ldb_message *msg;
struct kludge_private_data *data = talloc_get_type(module->private_data, struct kludge_private_data);
- int i, j;
+ struct ldb_message *msg;
+ enum user_is user_type;
+ int i, j, ret;
+
+ /* go down the path and wait for reply to filter out stuff if needed */
+ ret = ldb_next_request(module, req);
/* We may not be fully initialised yet, or we might have just
* got an error */