(merge from 3.0)
authorAndrew Bartlett <abartlet@samba.org>
Mon, 5 Jan 2004 23:28:50 +0000 (23:28 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 5 Jan 2004 23:28:50 +0000 (23:28 +0000)
commit4c2e1189ff84d254f19b604999d011fdb17e538d
tree47b4cd3244b19480d0c46d01a7061b712d6d7018
parent273dcda9ce62eb04c9cce673bb49b41982b26d98
(merge from 3.0)

Try to gain a bit more consistancy in the output of usernames from ntlm_auth:

Instead of returning a name in DOMAIN\user format, we now return it in the
same way that nsswtich does - following the rules of 'winbind use default
domain', in the correct case and with the correct seperator.

This should help sites who are using Squid or the new SASL code I'm working
on, to match back to their unix usernames.

--

Get the DOMAIN\username around the right way (I had username\domain...)

Push the unix username into utf8 for it's trip across the socket.

Andrew Bartlett
source/nsswitch/winbindd_nss.h
source/nsswitch/winbindd_pam.c
source/utils/ntlm_auth.c