The Samba-Bugzilla – Attachment 3241 Details for
Bug 3840
Smbclient tool removing the first letter of the username
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proof of concept patch for cliconnect.c for 3.0.28a
cliconnect.c_3.0.28a_patch.txt (text/plain), 1.03 KB, created by
Bryan Kolodziej
on 2008-04-04 04:11:19 UTC
(
hide
)
Description:
Proof of concept patch for cliconnect.c for 3.0.28a
Filename:
MIME Type:
Creator:
Bryan Kolodziej
Created:
2008-04-04 04:11:19 UTC
Size:
1.03 KB
patch
obsolete
>*** cliconnect.c 2008-03-08 07:56:26.000000000 -0800 >--- cliconnect_patched.c 2008-04-04 01:49:21.000000000 -0700 >*************** >*** 248,258 **** > > if ( (capabilities & CAP_UNICODE) == 0 ) { > p += clistr_push(cli, p, pass, -1, STR_TERMINATE); /* password */ >! SSVAL(cli->outbuf,smb_vwv7,PTR_DIFF(p, smb_buf(cli->outbuf))); > } > else { > p += clistr_push(cli, p, pass, -1, STR_UNICODE|STR_TERMINATE); /* unicode password */ >! SSVAL(cli->outbuf,smb_vwv8,PTR_DIFF(p, smb_buf(cli->outbuf))); > } > > p += clistr_push(cli, p, user, -1, STR_TERMINATE); /* username */ >--- 248,258 ---- > > if ( (capabilities & CAP_UNICODE) == 0 ) { > p += clistr_push(cli, p, pass, -1, STR_TERMINATE); /* password */ >! SSVAL(cli->outbuf,smb_vwv7,PTR_DIFF(p, smb_buf(cli->outbuf)) - 1); > } > else { > p += clistr_push(cli, p, pass, -1, STR_UNICODE|STR_TERMINATE); /* unicode password */ >! SSVAL(cli->outbuf,smb_vwv8,PTR_DIFF(p, smb_buf(cli->outbuf)) - 1); > } > > p += clistr_push(cli, p, user, -1, STR_TERMINATE); /* username */
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 3840
:
1965
|
1966
|
1968
| 3241