summaryrefslogtreecommitdiff
path: root/source3/nsswitch/winbindd_pam.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-01-19 22:26:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:06:11 -0500
commitdac44fded7757df73c1f09956b9553037b822391 (patch)
tree15c5e9fa331c41730055b5d2d807b629fcf298fa /source3/nsswitch/winbindd_pam.c
parentcd8f41c327be4913facb1d451d2b820bf18c4685 (diff)
downloadsamba-dac44fded7757df73c1f09956b9553037b822391.tar.gz
samba-dac44fded7757df73c1f09956b9553037b822391.tar.bz2
samba-dac44fded7757df73c1f09956b9553037b822391.zip
r13042: Fix for bug #3248 Stefan Burkei <stefan@burkei.de>.
When doing auth_crap authentication use the client given workstation name not our own. Jeremy. (This used to be commit a2bb2e3e819c56b710885fc8206632e22a6ec0ce)
Diffstat (limited to 'source3/nsswitch/winbindd_pam.c')
-rw-r--r--source3/nsswitch/winbindd_pam.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_pam.c b/source3/nsswitch/winbindd_pam.c
index 1d9b77afee..890007ae38 100644
--- a/source3/nsswitch/winbindd_pam.c
+++ b/source3/nsswitch/winbindd_pam.c
@@ -640,7 +640,8 @@ enum winbindd_result winbindd_dual_pam_auth_crap(struct winbindd_domain *domain,
contact_domain->dcname,
name_user,
name_domain,
- global_myname(),
+ /* Bug #3248 - found by Stefan Burkei. */
+ workstation, /* We carefully set this above so use it... */
state->request.data.auth_crap.chal,
lm_resp,
nt_resp,