r13042: Fix for bug #3248 Stefan Burkei <stefan@burkei.de>.
authorJeremy Allison <jra@samba.org>
Thu, 19 Jan 2006 22:26:26 +0000 (22:26 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:06:11 +0000 (11:06 -0500)
When doing auth_crap authentication use the client
given workstation name not our own.
Jeremy.
(This used to be commit a2bb2e3e819c56b710885fc8206632e22a6ec0ce)

source3/nsswitch/winbindd_pam.c

index 1d9b77afee133ab56dca8d3f5875b0ecbc98bce2..890007ae38941dd82e6f19858aa4d51654f9562d 100644 (file)
@@ -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,