summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-11-08 04:32:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:10 -0500
commitd5a03878ef952722eaf58f16273a239398252186 (patch)
tree4f97c51783b13cc78af274f1e16ad0ef7c4852ec /source3/auth
parent4279dab44563b789520603799d6b7553c5078234 (diff)
downloadsamba-d5a03878ef952722eaf58f16273a239398252186.tar.gz
samba-d5a03878ef952722eaf58f16273a239398252186.tar.bz2
samba-d5a03878ef952722eaf58f16273a239398252186.zip
r3616: Merge for 3.0.8.
In auth_winbind, remove the push_utf8 calls, as this is no longer a UTF8 interface. (Removed from everywhere else earlier). Tested with ASCII - I tried to load the weird charset for testing, but it doesn't seem to work any more. Andrew Bartlett (This used to be commit cb27c197ee44d2be09014598e3928642b59ef956)
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_winbind.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/auth/auth_winbind.c b/source3/auth/auth_winbind.c
index 4260a0e80b..78235d30fc 100644
--- a/source3/auth/auth_winbind.c
+++ b/source3/auth/auth_winbind.c
@@ -88,11 +88,11 @@ static NTSTATUS check_winbind_security(const struct auth_context *auth_context,
request.flags = WBFLAG_PAM_INFO3_NDR;
- push_utf8_fstring(request.data.auth_crap.user,
+ fstrcpy(request.data.auth_crap.user,
user_info->smb_name.str);
- push_utf8_fstring(request.data.auth_crap.domain,
+ fstrcpy(request.data.auth_crap.domain,
user_info->domain.str);
- push_utf8_fstring(request.data.auth_crap.workstation,
+ fstrcpy(request.data.auth_crap.workstation,
user_info->wksta_name.str);
memcpy(request.data.auth_crap.chal, auth_context->challenge.data, sizeof(request.data.auth_crap.chal));