git.samba.org
/
jra
/
samba
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d80b0cb
)
fix a bug that sometimes prevented smbclient from connecting with
author
Andrew Tridgell
<tridge@samba.org>
Sun, 14 Dec 1997 17:48:55 +0000
(17:48 +0000)
committer
Andrew Tridgell
<tridge@samba.org>
Sun, 14 Dec 1997 17:48:55 +0000
(17:48 +0000)
protocol < LANMAN1
source/client/clientutil.c
patch
|
blob
|
history
diff --git
a/source/client/clientutil.c
b/source/client/clientutil.c
index bf49c6b342be87272c4a6a95053135a6bfdd0393..ca908457389d19a125bdf94ed4cb8f85acb5580d 100644
(file)
--- a/
source/client/clientutil.c
+++ b/
source/client/clientutil.c
@@
-519,7
+519,9
@@
BOOL cli_send_login(char *inbuf,char *outbuf,BOOL start_session,BOOL use_setup)
Protocol = prots[SVAL(inbuf,smb_vwv0)].prot;
- if (Protocol < PROTOCOL_NT1) {
+ if (Protocol < PROTOCOL_LANMAN1) {
+ /* no extra params */
+ } else if (Protocol < PROTOCOL_NT1) {
sec_mode = SVAL(inbuf,smb_vwv1);
max_xmit = SVAL(inbuf,smb_vwv2);
sesskey = IVAL(inbuf,smb_vwv6);