diff options
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/rootdse.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/rootdse.c b/source4/dsdb/samdb/ldb_modules/rootdse.c index b0a21efea4..df12011d89 100644 --- a/source4/dsdb/samdb/ldb_modules/rootdse.c +++ b/source4/dsdb/samdb/ldb_modules/rootdse.c @@ -74,8 +74,8 @@ failed: */ static int rootdse_search_bytree(struct ldb_module *module, struct ldb_request *req) { -// struct ldb_request r = *req; - struct ldb_search *s = &req->op.search; + struct ldb_request r = *req; + struct ldb_search *s = &r.op.search; int ret; TALLOC_CTX *tmp_ctx; @@ -97,7 +97,7 @@ static int rootdse_search_bytree(struct ldb_module *module, struct ldb_request * } /* grab the static contents of the record */ - ret = ldb_next_request(module, req); + ret = ldb_next_request(module, &r); req->op.search.res = s->res; |