r5835: Make smbclient obey the max protocol argument again.
authorJeremy Allison <jra@samba.org>
Wed, 16 Mar 2005 20:07:08 +0000 (20:07 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 15:56:04 +0000 (10:56 -0500)
Jeremy.
(This used to be commit 7cb9618e5de8aae5e910e620e70ea130b76f6099)

source3/client/client.c
source3/libsmb/clidfs.c

index b00e7f2273f29230a558af446d05709f191f9725..9a09d50cc08000e9363860d3b0e961541a16ccf2 100644 (file)
@@ -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);
index e4308fdb5a4a5a55a2e060c369e646cc102299b5..dcffdf42fe401cb9ede8c3b25ffd9a305b045eb4 100644 (file)
@@ -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;