1
0
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:
Tim Potter
2001-02-14 05:34:50 +00:00
parent da20d4e5df
commit 64172d82fc
8 changed files with 45 additions and 28 deletions

View File

@ -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);