diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-10-01 03:28:39 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2004-10-01 03:28:39 +0000 |
commit | 5d7ca2a9e3408cad5015375c9d6a55bb7f4e7844 (patch) | |
tree | c5265d490d1b813c15ac45997ede4320c9114b48 /source/nsswitch/wbinfo.c | |
parent | 33c3a48e6f000b475722cf97d0245941868f6b3e (diff) | |
download | samba-5d7ca2a9e3408cad5015375c9d6a55bb7f4e7844.tar.gz samba-5d7ca2a9e3408cad5015375c9d6a55bb7f4e7844.tar.xz samba-5d7ca2a9e3408cad5015375c9d6a55bb7f4e7844.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
Diffstat (limited to 'source/nsswitch/wbinfo.c')
-rw-r--r-- | source/nsswitch/wbinfo.c | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/source/nsswitch/wbinfo.c b/source/nsswitch/wbinfo.c index 2abd9c69a17..69f464f446a 100644 --- a/source/nsswitch/wbinfo.c +++ b/source/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); |