diff options
author | Jeremy Allison <jra@samba.org> | 2005-03-16 20:07:08 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:56:04 -0500 |
commit | 7069d481c0c96edfa552aa74b192f63125416228 (patch) | |
tree | 6e5ffc61e8cd3aae601ed354213ff2825e3a8ac2 /source3 | |
parent | b05ce8f0470695cbba2da6caad09d604fac5da39 (diff) | |
download | samba-7069d481c0c96edfa552aa74b192f63125416228.tar.gz samba-7069d481c0c96edfa552aa74b192f63125416228.tar.bz2 samba-7069d481c0c96edfa552aa74b192f63125416228.zip |
r5835: Make smbclient obey the max protocol argument again.
Jeremy.
(This used to be commit 7cb9618e5de8aae5e910e620e70ea130b76f6099)
Diffstat (limited to 'source3')
-rw-r--r-- | source3/client/client.c | 2 | ||||
-rw-r--r-- | source3/libsmb/clidfs.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/client/client.c b/source3/client/client.c index b00e7f2273..9a09d50cc0 100644 --- a/source3/client/client.c +++ b/source3/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/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c index e4308fdb5a..dcffdf42fe 100644 --- a/source3/libsmb/clidfs.c +++ b/source3/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; |