diff options
author | Andrew Bartlett <abartlet@samba.org> | 2004-01-05 23:28:50 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2004-01-05 23:28:50 +0000 |
commit | 134af28f827ce80856c288e6d850d4fa7a043dd1 (patch) | |
tree | 0e8ae7b4cbe53f5c37ed4c44c5441d7f8014f52f /source3/nsswitch/winbindd_nss.h | |
parent | 4e1f6feba61aa98bfc552d29acb20efc0f5c2880 (diff) | |
download | samba-134af28f827ce80856c288e6d850d4fa7a043dd1.tar.gz samba-134af28f827ce80856c288e6d850d4fa7a043dd1.tar.bz2 samba-134af28f827ce80856c288e6d850d4fa7a043dd1.zip |
(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
(This used to be commit 4c2e1189ff84d254f19b604999d011fdb17e538d)
Diffstat (limited to 'source3/nsswitch/winbindd_nss.h')
-rw-r--r-- | source3/nsswitch/winbindd_nss.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/nsswitch/winbindd_nss.h b/source3/nsswitch/winbindd_nss.h index 00d49e7d3e..2383db551e 100644 --- a/source3/nsswitch/winbindd_nss.h +++ b/source3/nsswitch/winbindd_nss.h @@ -152,6 +152,7 @@ typedef struct winbindd_gr { #define WBFLAG_PAM_CONTACT_TRUSTDOM 0x0010 #define WBFLAG_QUERY_ONLY 0x0020 #define WBFLAG_ALLOCATE_RID 0x0040 +#define WBFLAG_PAM_UNIX_NAME 0x0080 /* Winbind request structure */ |