diff options
author | Volker Lendecke <vl@samba.org> | 2008-04-11 22:20:32 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2008-04-11 22:21:04 +0200 |
commit | c751386bb8d797dcb714fac19e6d4b161e3d81d0 (patch) | |
tree | 6a61823168815a0478a768ef9b65ae002dfe40b4 /source3/rpc_server | |
parent | 94df47318f85ac0295e41dec65c2eae25a01abcc (diff) | |
download | samba-c751386bb8d797dcb714fac19e6d4b161e3d81d0.tar.gz samba-c751386bb8d797dcb714fac19e6d4b161e3d81d0.tar.bz2 samba-c751386bb8d797dcb714fac19e6d4b161e3d81d0.zip |
Remove some write-only fstrings
(This used to be commit aacb07b1b0f674b8cb92347ef4b4dd1e7808dde8)
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_pipe.c | 15 |
1 files changed, 3 insertions, 12 deletions
diff --git a/source3/rpc_server/srv_pipe.c b/source3/rpc_server/srv_pipe.c index 05cdb65a83..4ac9f7a6f4 100644 --- a/source3/rpc_server/srv_pipe.c +++ b/source3/rpc_server/srv_pipe.c @@ -614,11 +614,6 @@ static bool pipe_ntlmssp_verify_final(pipes_struct *p, DATA_BLOB *p_resp_blob) ZERO_STRUCT(reply); - memset(p->user_name, '\0', sizeof(p->user_name)); - memset(p->pipe_user_name, '\0', sizeof(p->pipe_user_name)); - memset(p->domain, '\0', sizeof(p->domain)); - memset(p->wks, '\0', sizeof(p->wks)); - /* Set up for non-authenticated user. */ TALLOC_FREE(p->pipe_user.nt_user_token); p->pipe_user.ut.ngroups = 0; @@ -656,14 +651,10 @@ static bool pipe_ntlmssp_verify_final(pipes_struct *p, DATA_BLOB *p_resp_blob) return False; } } - - fstrcpy(p->user_name, a->ntlmssp_state->user); - fstrcpy(p->pipe_user_name, a->server_info->unix_name); - fstrcpy(p->domain, a->ntlmssp_state->domain); - fstrcpy(p->wks, a->ntlmssp_state->workstation); - DEBUG(5,("pipe_ntlmssp_verify_final: OK: user: %s domain: %s workstation: %s\n", - p->user_name, p->domain, p->wks)); + DEBUG(5, ("pipe_ntlmssp_verify_final: OK: user: %s domain: %s " + "workstation: %s\n", a->ntlmssp_state->user, + a->ntlmssp_state->domain, a->ntlmssp_state->workstation)); /* * Store the UNIX credential data (uid/gid pair) in the pipe structure. |