The Samba-Bugzilla – Attachment 299 Details for
Bug 821
smbclient Version 3.0.0 to 3.0.1pre3 can't connect to OS/2 Server
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
fix to allow smbclient for samba 3 and later to access pre-NTLM servers such as OS2
cliconnect_os2fix.diff (text/plain), 640 bytes, created by
Steve French
on 2003-12-03 15:40:49 UTC
(
hide
)
Description:
fix to allow smbclient for samba 3 and later to access pre-NTLM servers such as OS2
Filename:
MIME Type:
Creator:
Steve French
Created:
2003-12-03 15:40:49 UTC
Size:
640 bytes
patch
obsolete
>--- cliconnect.c 2003-12-03 17:26:05.000000000 -0600 >+++ cliconnect.new 2003-12-03 17:24:39.000000000 -0600 >@@ -53,6 +53,13 @@ > if (passlen > sizeof(pword)-1) > return False; > >+ /* LANMAN servers predate NT status codes and Unicode and ignore those >+ smb flags so we must disable the corresponding default capabilities >+ that would otherwise cause the Unicode and NT Status flags to be >+ set (and even returned by the server) */ >+ >+ cli->capabilities &= ~(CAP_UNICODE | CAP_STATUS32); >+ > /* if in share level security then don't send a password now */ > if (!(cli->sec_mode & NEGOTIATE_SECURITY_USER_LEVEL)) > passlen = 0;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 821
: 299