Author: jra Date: 2005-03-16 20:07:08 +0000 (Wed, 16 Mar 2005) New Revision: 5835
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5835 Log: Make smbclient obey the max protocol argument again. Jeremy. Modified: branches/SAMBA_3_0/source/client/client.c branches/SAMBA_3_0/source/libsmb/clidfs.c Changeset: Modified: branches/SAMBA_3_0/source/client/client.c =================================================================== --- branches/SAMBA_3_0/source/client/client.c 2005-03-16 20:06:58 UTC (rev 5834) +++ branches/SAMBA_3_0/source/client/client.c 2005-03-16 20:07:08 UTC (rev 5835) @@ -43,7 +43,7 @@ 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); Modified: branches/SAMBA_3_0/source/libsmb/clidfs.c =================================================================== --- branches/SAMBA_3_0/source/libsmb/clidfs.c 2005-03-16 20:06:58 UTC (rev 5834) +++ branches/SAMBA_3_0/source/libsmb/clidfs.c 2005-03-16 20:07:08 UTC (rev 5835) @@ -37,10 +37,10 @@ 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;