summaryrefslogtreecommitdiff
path: root/source4/torture/gentest.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-03 23:33:09 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:47:50 +0100
commit5b357ca8774d97e85153151552bc052cfaf26c1b (patch)
treef5ee90b480ce2a3511e1760e3eb5b003deb9ef2a /source4/torture/gentest.c
parent0184e5ef2d4ebd19e1617ca8daaf2102b8e5a9f0 (diff)
downloadsamba-5b357ca8774d97e85153151552bc052cfaf26c1b.tar.gz
samba-5b357ca8774d97e85153151552bc052cfaf26c1b.tar.bz2
samba-5b357ca8774d97e85153151552bc052cfaf26c1b.zip
r26270: Require specifying the loadparm_context or NULL to cli_credentials_guess().
(This used to be commit e52710d6794a25ba697f8c26b43784226964f9cb)
Diffstat (limited to 'source4/torture/gentest.c')
-rw-r--r--source4/torture/gentest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/torture/gentest.c b/source4/torture/gentest.c
index 132cfd6134..fa352a3e9e 100644
--- a/source4/torture/gentest.c
+++ b/source4/torture/gentest.c
@@ -2200,8 +2200,8 @@ static bool split_unc_name(const char *unc, char **server, char **share)
servers[0].credentials = cli_credentials_init(talloc_autofree_context());
servers[1].credentials = cli_credentials_init(talloc_autofree_context());
- cli_credentials_guess(servers[0].credentials);
- cli_credentials_guess(servers[1].credentials);
+ cli_credentials_guess(servers[0].credentials, global_loadparm);
+ cli_credentials_guess(servers[1].credentials, global_loadparm);
options.seed = time(NULL);
options.numops = 1000;