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

Collapse All | Expand All

(-)auth-krb5.c (-4 / +1 lines)
Lines 75-83 auth_krb5_password(Authctxt *authctxt, c Link Here
75
	krb5_ccache ccache = NULL;
75
	krb5_ccache ccache = NULL;
76
	int len;
76
	int len;
77
77
78
	if (!authctxt->valid)
79
		return (0);
80
81
	temporarily_use_uid(authctxt->pw);
78
	temporarily_use_uid(authctxt->pw);
82
79
83
	problem = krb5_init(authctxt);
80
	problem = krb5_init(authctxt);
Lines 213-219 auth_krb5_password(Authctxt *authctxt, c Link Here
213
		else
210
		else
214
			return (0);
211
			return (0);
215
	}
212
	}
216
	return (1);
213
	return (authctxt->valid ? 1 : 0);
217
}
214
}
218
215
219
void
216
void

Return to bug 975