mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
Merge of i18n fixes from appliance branch. Samba can now talk to a network
with a PDC that has international netbios name and domain name. There's
still quite a bit of i18n stuff to fix though...
(This used to be commit 79045bd72a
)
This commit is contained in:
@ -43,9 +43,9 @@ prots[] =
|
||||
|
||||
|
||||
/****************************************************************************
|
||||
Send a session setup. The username is in UNIX character format and must be
|
||||
converted to DOS codepage format before sending. If the password is in
|
||||
plaintext, the same should be done.
|
||||
Send a session setup. The username and workgroup is in UNIX character
|
||||
format and must be converted to DOS codepage format before sending. If the
|
||||
password is in plaintext, the same should be done.
|
||||
****************************************************************************/
|
||||
|
||||
BOOL cli_session_setup(struct cli_state *cli,
|
||||
@ -166,6 +166,7 @@ BOOL cli_session_setup(struct cli_state *cli,
|
||||
strupper(p);
|
||||
p = skip_string(p,1);
|
||||
pstrcpy(p,workgroup);
|
||||
unix_to_dos(p,True);
|
||||
strupper(p);
|
||||
p = skip_string(p,1);
|
||||
pstrcpy(p,"Unix");p = skip_string(p,1);
|
||||
|
Reference in New Issue
Block a user