summaryrefslogtreecommitdiff
path: root/source4/torture/libnet
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-04-10 06:07:46 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-04-10 06:07:46 +0200
commit574bf79f3bdaff50f902cb68d456c4672f3092be (patch)
tree914a576bdc7e2b95a86d1ef33cfea4c5e8394502 /source4/torture/libnet
parent73302b8b08d2528bbfb1eea4e9538e3e545d4641 (diff)
downloadsamba-574bf79f3bdaff50f902cb68d456c4672f3092be.tar.gz
samba-574bf79f3bdaff50f902cb68d456c4672f3092be.tar.bz2
samba-574bf79f3bdaff50f902cb68d456c4672f3092be.zip
Fix extra argument to provision_bare().
(This used to be commit 623f64a1a782086728a325e21e3dfb40c64871b7)
Diffstat (limited to 'source4/torture/libnet')
-rw-r--r--source4/torture/libnet/libnet_BecomeDC.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/torture/libnet/libnet_BecomeDC.c b/source4/torture/libnet/libnet_BecomeDC.c
index bb5e8fe061..a9a7773649 100644
--- a/source4/torture/libnet/libnet_BecomeDC.c
+++ b/source4/torture/libnet/libnet_BecomeDC.c
@@ -67,6 +67,7 @@ static NTSTATUS test_become_dc_prepare_db(void *private_data,
{
struct test_become_dc_state *s = talloc_get_type(private_data, struct test_become_dc_state);
struct provision_settings settings;
+ struct provision_result result;
NTSTATUS status;
bool ok;
struct loadparm_context *lp_ctx = loadparm_init(s);
@@ -89,7 +90,7 @@ static NTSTATUS test_become_dc_prepare_db(void *private_data,
settings.machine_password = cli_credentials_get_password(s->machine_account);
settings.targetdir = s->targetdir;
- status = provision_bare(s, s->lp_ctx, &settings);
+ status = provision_bare(s, s->lp_ctx, &settings, &result);
smbconf = talloc_asprintf(lp_ctx, "%s/%s", s->targetdir, "/etc/smb.conf");