diff options
author | Jeremy Allison <jra@samba.org> | 2007-11-27 14:35:30 -0800 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2007-11-27 14:35:30 -0800 |
commit | 6b6655edd90850d09c7711fc3b9fe98271e3e625 (patch) | |
tree | fd0247dcf84688d1f6bdba2253d05f6dd0fe0787 /source3/auth | |
parent | f642ae837507e755d5949a61ea5ad70c7b334385 (diff) | |
download | samba-6b6655edd90850d09c7711fc3b9fe98271e3e625.tar.gz samba-6b6655edd90850d09c7711fc3b9fe98271e3e625.tar.bz2 samba-6b6655edd90850d09c7711fc3b9fe98271e3e625.zip |
Remove pstrings from everything except srv_spoolss_nt.c.
Jeremy.
(This used to be commit 0002a9e96b0ef78316295a6eb94ff29b64e2f988)
Diffstat (limited to 'source3/auth')
-rw-r--r-- | source3/auth/auth_util.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c index 7ef894239e..c0a9e9bc84 100644 --- a/source3/auth/auth_util.c +++ b/source3/auth/auth_util.c @@ -1452,13 +1452,13 @@ NTSTATUS make_server_info_info3(TALLOC_CTX *mem_ctx, return NT_STATUS_INVALID_PARAMETER; } - if (!(nt_username = unistr2_tdup(mem_ctx, &(info3->uni_user_name)))) { + if (!(nt_username = unistr2_to_ascii_talloc(mem_ctx, &(info3->uni_user_name)))) { /* If the server didn't give us one, just use the one we sent * them */ nt_username = sent_nt_username; } - if (!(nt_domain = unistr2_tdup(mem_ctx, &(info3->uni_logon_dom)))) { + if (!(nt_domain = unistr2_to_ascii_talloc(mem_ctx, &(info3->uni_logon_dom)))) { /* If the server didn't give us one, just use the one we sent * them */ nt_domain = domain; @@ -1620,7 +1620,7 @@ NTSTATUS make_server_info_info3(TALLOC_CTX *mem_ctx, return nt_status; } - result->login_server = unistr2_tdup(result, + result->login_server = unistr2_to_ascii_talloc(result, &(info3->uni_logon_srv)); /* ensure we are never given NULL session keys */ |