summaryrefslogtreecommitdiff
path: root/source4/torture
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-12-02 17:09:43 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:47:02 +0100
commit2fa338cdc99276a5f85ad54cb88b372ffe8ab063 (patch)
tree7895291f7e8accda90aa896bb3b4c25d898a96c5 /source4/torture
parent33f26f8e547dae1c06282d6e6f89b3b37979a730 (diff)
downloadsamba-2fa338cdc99276a5f85ad54cb88b372ffe8ab063.tar.gz
samba-2fa338cdc99276a5f85ad54cb88b372ffe8ab063.tar.bz2
samba-2fa338cdc99276a5f85ad54cb88b372ffe8ab063.zip
r26226: Avoid more uses of global_loadparm.
(This used to be commit 6cbce47a3eaef76a89db7cd0ab0d4f6441fc720d)
Diffstat (limited to 'source4/torture')
-rw-r--r--source4/torture/gentest.c2
-rw-r--r--source4/torture/locktest.c2
-rw-r--r--source4/torture/masktest.c2
3 files changed, 3 insertions, 3 deletions
diff --git a/source4/torture/gentest.c b/source4/torture/gentest.c
index 79eb7eb0e9..132cfd6134 100644
--- a/source4/torture/gentest.c
+++ b/source4/torture/gentest.c
@@ -2265,7 +2265,7 @@ static bool split_unc_name(const char *unc, char **server, char **share)
}
}
- gensec_init();
+ gensec_init(global_loadparm);
if (username_count == 0) {
usage();
diff --git a/source4/torture/locktest.c b/source4/torture/locktest.c
index 24b9606961..810a21cb9e 100644
--- a/source4/torture/locktest.c
+++ b/source4/torture/locktest.c
@@ -637,7 +637,7 @@ static void usage(void)
servers[1] = servers[0];
}
- gensec_init();
+ gensec_init(global_loadparm);
argc -= optind;
argv += optind;
diff --git a/source4/torture/masktest.c b/source4/torture/masktest.c
index fec7657afe..d9ac271119 100644
--- a/source4/torture/masktest.c
+++ b/source4/torture/masktest.c
@@ -358,7 +358,7 @@ static void usage(void)
}
}
- gensec_init();
+ gensec_init(global_loadparm);
argc -= optind;
argv += optind;