summaryrefslogtreecommitdiff
path: root/source3/auth/auth_unix.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-03-16 16:41:54 +0000
committerGerald Carter <jerry@samba.org>2004-03-16 16:41:54 +0000
commitd24b8a2032a2e92d954781e610ab535361fefd88 (patch)
tree0f509e01c295b3001153a341225dc4cdedd49b4a /source3/auth/auth_unix.c
parent96c5a010bb42b268b441f776ac44cad84d5f2261 (diff)
downloadsamba-d24b8a2032a2e92d954781e610ab535361fefd88.tar.gz
samba-d24b8a2032a2e92d954781e610ab535361fefd88.tar.bz2
samba-d24b8a2032a2e92d954781e610ab535361fefd88.zip
BUG 1165, 1126: Fix bug with secondary groups (security = ads) and winbind use default domain = yes
(This used to be commit f2eaa14b1eb7e89c945b2b06a48e17998c75d620)
Diffstat (limited to 'source3/auth/auth_unix.c')
-rw-r--r--source3/auth/auth_unix.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_unix.c b/source3/auth/auth_unix.c
index b9de6f7acb..f744cba0c4 100644
--- a/source3/auth/auth_unix.c
+++ b/source3/auth/auth_unix.c
@@ -108,7 +108,7 @@ static NTSTATUS check_unix_security(const struct auth_context *auth_context,
if (NT_STATUS_IS_OK(nt_status)) {
if (pass) {
- make_server_info_pw(server_info, pass);
+ make_server_info_pw(server_info, pass->pw_name, pass);
} else {
/* we need to do somthing more useful here */
nt_status = NT_STATUS_NO_SUCH_USER;