r20762: load the default dn's after the rootdse module is initialized,
authorStefan Metzmacher <metze@samba.org>
Sun, 14 Jan 2007 13:45:18 +0000 (13:45 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:40:47 +0000 (14:40 -0500)
so that following module can access the default dn's.

metze
(This used to be commit a934da4dcfeae49fcfc901a071da2d41507da69b)

source4/dsdb/samdb/ldb_modules/rootdse.c

index 86e97f9cfb5fa0a91bfe12227657f1d711eef00f..f9a9b52029f61d0f8c23a5419695445a04a47380 100644 (file)
@@ -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);
 }