summaryrefslogtreecommitdiff
path: root/source4/torture/libnet
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-02-15 01:16:12 +0100
committerJelmer Vernooij <jelmer@samba.org>2008-02-15 01:16:12 +0100
commit3d6da3b162561b756a002c54f94a6739cfbb08fe (patch)
tree1450c1a00046ac4eecfdd6c56d826e8494476b64 /source4/torture/libnet
parent1f5cec6f405f8f4446d39a0b520cc3bae1f17ad6 (diff)
downloadsamba-3d6da3b162561b756a002c54f94a6739cfbb08fe.tar.gz
samba-3d6da3b162561b756a002c54f94a6739cfbb08fe.tar.bz2
samba-3d6da3b162561b756a002c54f94a6739cfbb08fe.zip
Finish migration of provision code.
(This used to be commit 53c5924195844dac4dfe99e5c9b0c8911394497a)
Diffstat (limited to 'source4/torture/libnet')
-rw-r--r--source4/torture/libnet/libnet_BecomeDC.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/source4/torture/libnet/libnet_BecomeDC.c b/source4/torture/libnet/libnet_BecomeDC.c
index 34ae53eb22..83d7426dfb 100644
--- a/source4/torture/libnet/libnet_BecomeDC.c
+++ b/source4/torture/libnet/libnet_BecomeDC.c
@@ -79,7 +79,13 @@ static NTSTATUS test_become_dc_prepare_db(void *private_data,
&p->dest_dsa->invocation_id,
p->dest_dsa->netbios_name,
torture_join_dom_dns_name(s->tj),
- torture_join_dom_netbios_name(s->tj));
+ torture_join_dom_netbios_name(s->tj),
+ &p->dest_dsa->ntds_guid,
+ p->dest_dsa->ntds_dn_str,
+ cli_credentials_get_password(s->machine_account),
+ s->path.samdb_ldb, s->path.secrets_ldb,
+ s->path.secrets_keytab, s->path.schemadn_ldb,
+ s->path.configdn_ldb, s->path.domaindn_ldb);
}
static NTSTATUS test_become_dc_check_options(void *private_data,