summaryrefslogtreecommitdiff
path: root/source4/dsdb/samdb
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2007-10-30 21:01:07 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:43:45 +0100
commit47f6988c6d51d245ecacf2ab5c638382a7fdaeb5 (patch)
treee1f5c08918a16d4797a23675512e168554286e4e /source4/dsdb/samdb
parentd7b8a4ab24b2ec4423a019f649d25c8fa6a337f2 (diff)
downloadsamba-47f6988c6d51d245ecacf2ab5c638382a7fdaeb5.tar.gz
samba-47f6988c6d51d245ecacf2ab5c638382a7fdaeb5.tar.bz2
samba-47f6988c6d51d245ecacf2ab5c638382a7fdaeb5.zip
r25753: Move cn=rootdse to @ROOTDSE to avoid being caught up in schema restrictions.
Andrew Bartlett (This used to be commit f3390c9054244c0e4381007b36bbac9a17800570)
Diffstat (limited to 'source4/dsdb/samdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/rootdse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/rootdse.c b/source4/dsdb/samdb/ldb_modules/rootdse.c
index a808d674e2..02f43d7076 100644
--- a/source4/dsdb/samdb/ldb_modules/rootdse.c
+++ b/source4/dsdb/samdb/ldb_modules/rootdse.c
@@ -280,8 +280,8 @@ static int rootdse_search(struct ldb_module *module, struct ldb_request *req)
}
down_req->operation = req->operation;
- /* in our db we store the rootDSE with a DN of cn=rootDSE */
- down_req->op.search.base = ldb_dn_new(down_req, module->ldb, "cn=rootDSE");
+ /* in our db we store the rootDSE with a DN of @ROOTDSE */
+ down_req->op.search.base = ldb_dn_new(down_req, module->ldb, "@ROOTDSE");
down_req->op.search.scope = LDB_SCOPE_BASE;
down_req->op.search.tree = ldb_parse_tree(down_req, NULL);
if (down_req->op.search.base == NULL || down_req->op.search.tree == NULL) {