diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-09-30 01:38:51 +0200 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-09-30 01:38:51 +0200 |
commit | 83183bf38190b867ca4bb7ebda1136803e36f777 (patch) | |
tree | aa7b183d2344a832ede03a642c4a19047d3eeba9 /source4/libcli | |
parent | c8a19f0b8373bec27f4d3638bb731963896f3ff5 (diff) | |
download | samba-83183bf38190b867ca4bb7ebda1136803e36f777.tar.gz samba-83183bf38190b867ca4bb7ebda1136803e36f777.tar.bz2 samba-83183bf38190b867ca4bb7ebda1136803e36f777.zip |
Explicitly pass on session options to session setup function.
Diffstat (limited to 'source4/libcli')
-rw-r--r-- | source4/libcli/cliconnect.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source4/libcli/cliconnect.c b/source4/libcli/cliconnect.c index 6fb9f130a9..3b1c3c5314 100644 --- a/source4/libcli/cliconnect.c +++ b/source4/libcli/cliconnect.c @@ -69,13 +69,11 @@ NTSTATUS smbcli_negprot(struct smbcli_state *cli, bool unicode, int maxprotocol) /* wrapper around smb_raw_sesssetup() */ NTSTATUS smbcli_session_setup(struct smbcli_state *cli, struct cli_credentials *credentials, - const char *workgroup) + const char *workgroup, + struct smbcli_session_options options) { struct smb_composite_sesssetup setup; NTSTATUS status; - struct smbcli_session_options options; - - lp_smbcli_session_options(global_loadparm, &options); cli->session = smbcli_session_init(cli->transport, cli, true, options); |