Try to gain a bit more consistancy in the output of usernames from ntlm_auth:
authorAndrew Bartlett <abartlet@samba.org>
Tue, 30 Dec 2003 13:20:39 +0000 (13:20 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 30 Dec 2003 13:20:39 +0000 (13:20 +0000)
commit829188b34fd46644ea65316943a0d61ce717b8e9
tree548b88cd676d7ee9b5cdfbf6c812a05377c89631
parent43772e1d4adbcee49d64a1d09c6494e8e2a4aa92
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.

Andrew Bartlett
(This used to be commit 7a3a5a63612b2698a39f784859496c395505a79b)
source3/nsswitch/winbindd_nss.h
source3/nsswitch/winbindd_pam.c
source3/utils/ntlm_auth.c