From 815d3f2e687cb9e250dc3ce1251e7172522de574 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Mon, 26 Feb 2007 11:49:32 +0000 Subject: r21538: this looks better... metze (This used to be commit 8ddfbbcb93f7c94ab040984d460d6122f0ff6520) --- source4/libnet/libnet_become_dc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source4/libnet/libnet_become_dc.c b/source4/libnet/libnet_become_dc.c index bb7b4bb613..28939d94f9 100644 --- a/source4/libnet/libnet_become_dc.c +++ b/source4/libnet/libnet_become_dc.c @@ -1189,7 +1189,7 @@ static void becomeDC_drsuapi1_add_entry_send(struct libnet_BecomeDC_state *s) v[0].sid = s->zero_sid; v[0].dn = talloc_asprintf(vd, "CN=NTDS-DSA,%s", s->forest.schema_dn_str); - if (composite_nomem(v->dn, c)) return; + if (composite_nomem(v[0].dn, c)) return; c->status = ndr_push_struct_blob(&vd[0], vd, &v[0], (ndr_push_flags_fn_t)ndr_push_drsuapi_DsReplicaObjectIdentifier3); -- cgit