mirror of https://github.com/MidnightCommander/mc
* samba/libsmb/clientgen.c (cli_session_setup): Convert
username from Unix to DOS codepage before sending.
This commit is contained in:
parent
d4336795e6
commit
e2ae450cf0
|
@ -1,3 +1,8 @@
|
|||
2003-03-13 Andrew V. Samoilov <sav@bcs.zp.ua>
|
||||
|
||||
* samba/libsmb/clientgen.c (cli_session_setup): Convert
|
||||
username from Unix to DOS codepage before sending.
|
||||
|
||||
2003-03-10 Adam Byrtek <alpha@debian.org>
|
||||
|
||||
* extfs/patchfs.in: Minor cleanups.
|
||||
|
|
|
@ -754,6 +754,7 @@ BOOL cli_session_setup(struct cli_state *cli,
|
|||
p += passlen;
|
||||
pstrcpy(p,user);
|
||||
strupper(p);
|
||||
unix_to_dos (p, True);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -776,6 +777,7 @@ BOOL cli_session_setup(struct cli_state *cli,
|
|||
p += SVAL(cli->outbuf,smb_vwv8);
|
||||
pstrcpy(p,user);
|
||||
strupper(p);
|
||||
unix_to_dos (p, True);
|
||||
p = skip_string(p,1);
|
||||
pstrcpy(p,workgroup);
|
||||
strupper(p);
|
||||
|
|
Loading…
Reference in New Issue