Fix make world in the kerberosIV case.

This commit is contained in:
Mark Murray 2001-05-11 09:36:17 +00:00
parent 2828b33147
commit fa83754c4e
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=76464

View File

@ -118,7 +118,11 @@ do_authloop(Authctxt *authctxt)
/* If the user has no password, accept authentication immediately. */
if (options.password_authentication &&
#if defined(KRB4) || defined(KRB5)
(!options.kerberos_authentication || options.kerberos_or_local_passwd) &&
(!options.kerberos_authentication
#if defined(KRB4)
|| options.krb4_or_local_passwd
#endif
) &&
#endif
#ifdef USE_PAM
auth_pam_password(authctxt, "")