View | Details | Raw Unified | Return to bug 1215 | Differences between
and this patch

Collapse All | Expand All

(-)old/auth-pam.c (-1 / +1 lines)
Lines 312-318 Link Here
312
			fatal("PAM: could not get passwd entry for user "
312
			fatal("PAM: could not get passwd entry for user "
313
			    "'%.100s' provided by PAM_USER", user);
313
			    "'%.100s' provided by PAM_USER", user);
314
		pwfree(sshpam_authctxt->pw);
314
		pwfree(sshpam_authctxt->pw);
315
		sshpam_authctxt->pw = pw;
315
		sshpam_authctxt->pw = pwcopy(pw);
316
		sshpam_authctxt->valid = allowed_user(pw);
316
		sshpam_authctxt->valid = allowed_user(pw);
317
		debug("PAM: user '%.100s' now %svalid", user,
317
		debug("PAM: user '%.100s' now %svalid", user,
318
		    sshpam_authctxt->valid ? "" : "in");
318
		    sshpam_authctxt->valid ? "" : "in");

Return to bug 1215