summaryrefslogtreecommitdiff
path: root/source4/auth/auth_winbind.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2005-10-31 06:08:11 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:45:34 -0500
commit87d9cd202aecc42add886159bd7ec9bdf889b0c3 (patch)
tree523f52a6068b7ff38ee594e5cf66918ed0226103 /source4/auth/auth_winbind.c
parent55c6d93184c79b58a5dbd81d7a2b452bc02c037f (diff)
downloadsamba-87d9cd202aecc42add886159bd7ec9bdf889b0c3.tar.gz
samba-87d9cd202aecc42add886159bd7ec9bdf889b0c3.tar.bz2
samba-87d9cd202aecc42add886159bd7ec9bdf889b0c3.zip
r11414: Add passing around of logon_parameters to Samba4 auth_winbind
Andrew Bartlett (This used to be commit 7e3c22f57be215b483ae15de4f754ed4188b5379)
Diffstat (limited to 'source4/auth/auth_winbind.c')
-rw-r--r--source4/auth/auth_winbind.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source4/auth/auth_winbind.c b/source4/auth/auth_winbind.c
index 263aef8cc9..bda9602926 100644
--- a/source4/auth/auth_winbind.c
+++ b/source4/auth/auth_winbind.c
@@ -71,6 +71,9 @@ static NTSTATUS winbind_check_password(struct auth_method_context *ctx,
ZERO_STRUCT(request);
ZERO_STRUCT(response);
request.flags = WBFLAG_PAM_INFO3_NDR;
+
+ request.data.auth_crap.logon_parameters = user_info->logon_parameters;
+
winbind_strcpy(request.data.auth_crap.user,
user_info->client.account_name);
winbind_strcpy(request.data.auth_crap.domain,