diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-09-21 13:22:22 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-09-21 13:22:22 +0000 |
commit | 80ad52d5c2c389ae8983f57b34a03d8d2d2ddd88 (patch) | |
tree | 1c00b8c558a2ddf84b0a3b510f111fe74294c907 /source3/rpc_server | |
parent | b54692bea7b6c75d38505ce2995c7f4472a4f4fb (diff) | |
download | samba-80ad52d5c2c389ae8983f57b34a03d8d2d2ddd88.tar.gz samba-80ad52d5c2c389ae8983f57b34a03d8d2d2ddd88.tar.bz2 samba-80ad52d5c2c389ae8983f57b34a03d8d2d2ddd88.zip |
fixed character set for user name pull
(This used to be commit 374f76fa2d5dcd036943c3f968a94f097a971ac7)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_pipe.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c index a352cd5eb6..b3f590a177 100644 --- a/source3/rpc_server/srv_pipe.c +++ b/source3/rpc_server/srv_pipe.c @@ -302,10 +302,9 @@ static BOOL api_pipe_ntlmssp_verify(pipes_struct *p, RPC_AUTH_NTLMSSP_RESP *ntlm rpcstr_pull(domain, ntlmssp_resp->domain, sizeof(fstring), ntlmssp_resp->hdr_domain.str_str_len*2, 0); rpcstr_pull(wks, ntlmssp_resp->wks, sizeof(fstring), ntlmssp_resp->hdr_wks.str_str_len*2, 0); } else { - /* What charset are these meant to be in? */ - fstrcpy(user_name, ntlmssp_resp->user); - fstrcpy(domain, ntlmssp_resp->domain); - fstrcpy(wks, ntlmssp_resp->wks); + pull_ascii_fstring(user_name, ntlmssp_resp->user); + pull_ascii_fstring(domain, ntlmssp_resp->domain); + pull_ascii_fstring(wks, ntlmssp_resp->wks); } DEBUG(5,("user: %s domain: %s wks: %s\n", user_name, domain, wks)); |