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)
commit7a3a5a63612b2698a39f784859496c395505a79b
treed8570b92e72f0fbbc63ff1ed5d6739759a7922f0
parent0fa268863b7352343eb7f211181a02f60848bd0c
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
source/nsswitch/winbindd_nss.h
source/nsswitch/winbindd_pam.c
source/utils/ntlm_auth.c