svn commit: samba r5834 - in trunk/source: client libsmb
jra at samba.org
jra at samba.org
Wed Mar 16 20:06:58 GMT 2005
Author: jra
Date: 2005-03-16 20:06:58 +0000 (Wed, 16 Mar 2005)
New Revision: 5834
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=5834
Log:
Make smbclient obey the max protocol argument again.
Jeremy.
Modified:
trunk/source/client/client.c
trunk/source/libsmb/clidfs.c
Changeset:
Modified: trunk/source/client/client.c
===================================================================
--- trunk/source/client/client.c 2005-03-16 19:31:15 UTC (rev 5833)
+++ trunk/source/client/client.c 2005-03-16 20:06:58 UTC (rev 5834)
@@ -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: trunk/source/libsmb/clidfs.c
===================================================================
--- trunk/source/libsmb/clidfs.c 2005-03-16 19:31:15 UTC (rev 5833)
+++ trunk/source/libsmb/clidfs.c 2005-03-16 20:06:58 UTC (rev 5834)
@@ -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;
More information about the samba-cvs
mailing list