diff options
author | Andrew Bartlett <abartlet@samba.org> | 2008-07-25 08:44:00 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2008-07-25 08:44:00 +1000 |
commit | d65f89f7b9ba749691c04a9c95e3c8eac77c492c (patch) | |
tree | f61cb866b4e1d5ba55075f22937aeee63e5ce437 | |
parent | 9549ebc2ac25320d5a3dfd2aca66ecc39bbf7ae8 (diff) | |
download | samba-d65f89f7b9ba749691c04a9c95e3c8eac77c492c.tar.gz samba-d65f89f7b9ba749691c04a9c95e3c8eac77c492c.tar.bz2 samba-d65f89f7b9ba749691c04a9c95e3c8eac77c492c.zip |
Clarify how we are doing the 'this is a rootdse query' check.
(This used to be commit 8dfba3160cc4bc518f3ad8570d104e5baae784ca)
-rw-r--r-- | source4/dsdb/samdb/ldb_modules/rootdse.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/rootdse.c b/source4/dsdb/samdb/ldb_modules/rootdse.c index 75f99a139d..7414d36973 100644 --- a/source4/dsdb/samdb/ldb_modules/rootdse.c +++ b/source4/dsdb/samdb/ldb_modules/rootdse.c @@ -263,9 +263,10 @@ static int rootdse_search(struct ldb_module *module, struct ldb_request *req) struct ldb_request *down_req; int ret; - /* see if its for the rootDSE */ + /* see if its for the rootDSE - only a base search on the "" DN qualifies */ if (req->op.search.scope != LDB_SCOPE_BASE || ( ! ldb_dn_is_null(req->op.search.base))) { + /* Otherwise, pass down to the rest of the stack */ return ldb_next_request(module, req); } |