summaryrefslogtreecommitdiff
path: root/source4/client
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/client
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/client')
-rw-r--r--source4/client/cifsdd.c2
-rw-r--r--source4/client/client.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source4/client/cifsdd.c b/source4/client/cifsdd.c
index 5735d127e4..a48235d047 100644
--- a/source4/client/cifsdd.c
+++ b/source4/client/cifsdd.c
@@ -574,7 +574,7 @@ int main(int argc, const char ** argv)
}
}
- gensec_init();
+ gensec_init(global_loadparm);
dump_args();
if (check_arg_numeric("ibs") == 0 || check_arg_numeric("ibs") == 0) {
diff --git a/source4/client/client.c b/source4/client/client.c
index 4415361602..571caa68db 100644
--- a/source4/client/client.c
+++ b/source4/client/client.c
@@ -3180,7 +3180,7 @@ static int do_message_op(const char *desthost, const char *destip, int name_type
}
}
- gensec_init();
+ gensec_init(global_loadparm);
if(poptPeekArg(pc)) {
char *s = strdup(poptGetArg(pc));