summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2007-02-26 11:49:32 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:48:54 -0500
commit815d3f2e687cb9e250dc3ce1251e7172522de574 (patch)
tree01e12b2f69a66b0dc14d81a966c5f3e3f5798555
parent60fd088c480e474c3db8870f1288462a8452cea3 (diff)
downloadsamba-815d3f2e687cb9e250dc3ce1251e7172522de574.tar.gz
samba-815d3f2e687cb9e250dc3ce1251e7172522de574.tar.bz2
samba-815d3f2e687cb9e250dc3ce1251e7172522de574.zip
r21538: this looks better...
metze (This used to be commit 8ddfbbcb93f7c94ab040984d460d6122f0ff6520)
-rw-r--r--source4/libnet/libnet_become_dc.c2
1 files changed, 1 insertions, 1 deletions
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);