diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-10-01 03:28:39 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:52:51 -0500 |
commit | f219db7d698438969be95186dad7dc60512b86a9 (patch) | |
tree | ba0614270b626e34608c1ed994aefc4601eeefc6 /source3/nsswitch/wbinfo.c | |
parent | 90cd0c339c800b7a4529a80442c3c487d99d5250 (diff) | |
download | samba-f219db7d698438969be95186dad7dc60512b86a9.tar.gz samba-f219db7d698438969be95186dad7dc60512b86a9.tar.xz samba-f219db7d698438969be95186dad7dc60512b86a9.zip |
r2762: Remove silly conversion to and from UTF8 on the winbind pipe. Fix the
naming of the require_membership_of parameter in pam_winbind and fix
the error code for 'you didn't specify a domain' in ntlm_auth.
Andrew Bartlett
(This used to be commit 4bf0b94011fe6bfbec5635e58cafbfe3dc898569)
Diffstat (limited to 'source3/nsswitch/wbinfo.c')
-rw-r--r-- | source3/nsswitch/wbinfo.c | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/source3/nsswitch/wbinfo.c b/source3/nsswitch/wbinfo.c index 2abd9c69a17..69f464f446a 100644 --- a/source3/nsswitch/wbinfo.c +++ b/source3/nsswitch/wbinfo.c @@ -567,18 +567,10 @@ static BOOL wbinfo_auth_crap(char *username) parse_wbinfo_domain_user(username, name_domain, name_user); - if (push_utf8_fstring(request.data.auth_crap.user, name_user) == -1) { - d_printf("unable to create utf8 string for '%s'\n", - name_user); - return False; - } + fstrcpy(request.data.auth_crap.user, name_user); - if (push_utf8_fstring(request.data.auth_crap.domain, - name_domain) == -1) { - d_printf("unable to create utf8 string for '%s'\n", - name_domain); - return False; - } + fstrcpy(request.data.auth_crap.domain, + name_domain); generate_random_buffer(request.data.auth_crap.chal, 8); |