From 236e6fecdad7d224a86b6c4bf789214e31018da1 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Tue, 15 Nov 2011 09:45:46 +0100 Subject: s4:libnet: initialize forest structure in py_net_replicate_init() metze --- source4/libnet/py_net.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source4') diff --git a/source4/libnet/py_net.c b/source4/libnet/py_net.c index 86ee8ca532..ebfb2ba4d2 100644 --- a/source4/libnet/py_net.c +++ b/source4/libnet/py_net.c @@ -448,6 +448,9 @@ static PyObject *py_net_replicate_init(py_net_Object *self, PyObject *args, PyOb } s->forest.dns_name = samdb_dn_to_dns_domain(s, ldb_get_root_basedn(samdb)); + s->forest.root_dn_str = ldb_dn_get_linearized(ldb_get_root_basedn(samdb)); + s->forest.config_dn_str = ldb_dn_get_linearized(ldb_get_config_basedn(samdb)); + s->forest.schema_dn_str = ldb_dn_get_linearized(ldb_get_schema_basedn(samdb)); s->chunk.gensec_skey = &s->gensec_skey; s->chunk.partition = &s->partition; -- cgit