summaryrefslogtreecommitdiff
path: root/source4/dsdb
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-01-14 13:45:18 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:40:47 -0500
commitee56bf2317febe3f84428e41b0b9e149aa94dc18 (patch)
tree9a2a43bd48ba33e1004371f2256f1c4812596fa6 /source4/dsdb
parent0c29f6d56da1ce9b01a54be6a8d3a48cf6b2e27f (diff)
downloadsamba-ee56bf2317febe3f84428e41b0b9e149aa94dc18.tar.gz
samba-ee56bf2317febe3f84428e41b0b9e149aa94dc18.tar.bz2
samba-ee56bf2317febe3f84428e41b0b9e149aa94dc18.zip
r20762: load the default dn's after the rootdse module is initialized,
so that following module can access the default dn's. metze (This used to be commit a934da4dcfeae49fcfc901a071da2d41507da69b)
Diffstat (limited to 'source4/dsdb')
-rw-r--r--source4/dsdb/samdb/ldb_modules/rootdse.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source4/dsdb/samdb/ldb_modules/rootdse.c b/source4/dsdb/samdb/ldb_modules/rootdse.c
index 86e97f9cfb..f9a9b52029 100644
--- a/source4/dsdb/samdb/ldb_modules/rootdse.c
+++ b/source4/dsdb/samdb/ldb_modules/rootdse.c
@@ -303,6 +303,8 @@ static int rootdse_init(struct ldb_module *module)
data->partitions = NULL;
module->private_data = data;
+ ldb_set_default_dns(module->ldb);
+
return ldb_next_init(module);
}