summaryrefslogtreecommitdiff
path: root/source3/auth/auth_unix.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-03-16 16:44:54 +0000
committerGerald Carter <jerry@samba.org>2004-03-16 16:44:54 +0000
commit1df61db0720b0d5372ffb43cf2fd60d72e438728 (patch)
tree10caaaceb0a5c79e7e2d2f464af9c1413bc28726 /source3/auth/auth_unix.c
parent76e86e88c3d578ad47d4bc9ef7e8e6c035715dea (diff)
downloadsamba-1df61db0720b0d5372ffb43cf2fd60d72e438728.tar.gz
samba-1df61db0720b0d5372ffb43cf2fd60d72e438728.tar.bz2
samba-1df61db0720b0d5372ffb43cf2fd60d72e438728.zip
BUG 1165, 1126: Fix bug with secondary groups (security = ads) and winbind use default domain = yes
(This used to be commit ca971cf76e5fbb33d51b1fdfa92e4d13b2e150b6)
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;