diff options
author | Tim Potter <tpot@samba.org> | 2001-02-14 05:34:50 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2001-02-14 05:34:50 +0000 |
commit | 64172d82fcf1762a8bc938282919f9e3bd39675d (patch) | |
tree | d1aceb0a9bb586242c5a0eba36b5aacfe5b50ce2 /source3/rpc_client/cli_login.c | |
parent | da20d4e5df3c908cc00bf31570892fa5f19853e7 (diff) | |
download | samba-64172d82fcf1762a8bc938282919f9e3bd39675d.tar.gz samba-64172d82fcf1762a8bc938282919f9e3bd39675d.tar.bz2 samba-64172d82fcf1762a8bc938282919f9e3bd39675d.zip |
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 79045bd72ace9144e7dd73785b1d10a71b0d15aa)
Diffstat (limited to 'source3/rpc_client/cli_login.c')
-rw-r--r-- | source3/rpc_client/cli_login.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/source3/rpc_client/cli_login.c b/source3/rpc_client/cli_login.c index 205ccc7a24..6600fac162 100644 --- a/source3/rpc_client/cli_login.c +++ b/source3/rpc_client/cli_login.c @@ -161,15 +161,14 @@ BOOL cli_nt_login_network(struct cli_state *cli, char *domain, char *username, NET_ID_INFO_CTR *ctr, NET_USER_INFO_3 *user_info3) { DEBUG(5,("cli_nt_login_network: %d\n", __LINE__)); - /* indicate a "network" login */ ctr->switch_value = NET_LOGON_TYPE; /* Create the structure needed for SAM logon. */ - init_id_info2(&ctr->auth.id2, domain, 0, - smb_userid_low, 0, - username, cli->clnt_name_slash, - (uchar *)lm_chal, (uchar *)lm_chal_resp, (uchar *)nt_chal_resp); + init_id_info2(&ctr->auth.id2, domain, 0, smb_userid_low, 0, + username, dos_to_unix(cli->clnt_name_slash, False), + (uchar *)lm_chal, (uchar *)lm_chal_resp, + (uchar *)nt_chal_resp); /* Send client sam-logon request - update credentials on success. */ return cli_net_sam_logon(cli, ctr, user_info3); |