summaryrefslogtreecommitdiff
path: root/source4/torture/libnet
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2008-04-04 12:55:45 +1100
committerAndrew Bartlett <abartlet@samba.org>2008-04-04 12:55:45 +1100
commit9f96f39ca095a5f450f673e607a72efed504fdad (patch)
tree9a0639c12354caa2b0787c7284ebd9d9d27d5d2b /source4/torture/libnet
parentc764791100079ed447c07ca6b99d33f9695255c3 (diff)
downloadsamba-9f96f39ca095a5f450f673e607a72efed504fdad.tar.gz
samba-9f96f39ca095a5f450f673e607a72efed504fdad.tar.bz2
samba-9f96f39ca095a5f450f673e607a72efed504fdad.zip
Pass discovered server DN down to provision.
This uses the new 'serverdn' argument added to provision in the previous commit. Andrew Bartlett (This used to be commit 74480c7de76069701246eb5b7acc5858b84d106c)
Diffstat (limited to 'source4/torture/libnet')
-rw-r--r--source4/torture/libnet/libnet_BecomeDC.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source4/torture/libnet/libnet_BecomeDC.c b/source4/torture/libnet/libnet_BecomeDC.c
index 3f8edd40e8..f8699fe06a 100644
--- a/source4/torture/libnet/libnet_BecomeDC.c
+++ b/source4/torture/libnet/libnet_BecomeDC.c
@@ -84,6 +84,7 @@ static NTSTATUS test_become_dc_prepare_db(void *private_data,
settings.netbios_name = p->dest_dsa->netbios_name;
settings.realm = torture_join_dom_dns_name(s->tj);
settings.domain = torture_join_dom_netbios_name(s->tj);
+ settings.server_dn_str = torture_join_server_dn_str(s->tj);
settings.machine_password = cli_credentials_get_password(s->machine_account);
settings.targetdir = s->targetdir;