diff options
author | Jeremy Allison <jra@samba.org> | 2005-03-16 20:07:08 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2005-03-16 20:07:08 +0000 |
commit | ee220047d40dfef8c11149f7e3c5213001d82261 (patch) | |
tree | 91a6a6ce8bfbb166d6cf8c0b2e1a0c5bb2a6737e /source | |
parent | 6fb3e18a4cbdb06d1047f84bd2ff9b462190f7e4 (diff) | |
download | samba-ee220047d40dfef8c11149f7e3c5213001d82261.tar.gz samba-ee220047d40dfef8c11149f7e3c5213001d82261.tar.xz samba-ee220047d40dfef8c11149f7e3c5213001d82261.zip |
r5835: Make smbclient obey the max protocol argument again.
Jeremy.
Diffstat (limited to 'source')
-rw-r--r-- | source/client/client.c | 2 | ||||
-rw-r--r-- | source/libsmb/clidfs.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/client/client.c b/source/client/client.c index b00e7f2273f..9a09d50cc08 100644 --- a/source/client/client.c +++ b/source/client/client.c @@ -43,7 +43,7 @@ static char *cmdstr = NULL; static int io_bufsize = 64512; static int name_type = 0x20; -static int max_protocol = PROTOCOL_NT1; +extern int max_protocol; static int process_tok(pstring tok); static int cmd_help(void); diff --git a/source/libsmb/clidfs.c b/source/libsmb/clidfs.c index e4308fdb5a4..dcffdf42fe4 100644 --- a/source/libsmb/clidfs.c +++ b/source/libsmb/clidfs.c @@ -37,10 +37,10 @@ static pstring password; static BOOL use_kerberos; static BOOL got_pass; static int signing_state; +int max_protocol = PROTOCOL_NT1; static int port; static int name_type = 0x20; -static int max_protocol = PROTOCOL_NT1; static BOOL have_ip; static struct in_addr dest_ip; |