|
Lines 73-85
auth_password(Authctxt *authctxt, const
Link Here
|
| 73 |
if (*password == '\0' && options.permit_empty_passwd == 0) |
73 |
if (*password == '\0' && options.permit_empty_passwd == 0) |
| 74 |
return 0; |
74 |
return 0; |
| 75 |
|
75 |
|
| 76 |
#if defined(HAVE_OSF_SIA) |
|
|
| 77 |
/* |
| 78 |
* XXX: any reason this is before krb? could be moved to |
| 79 |
* sys_auth_passwd()? -dt |
| 80 |
*/ |
| 81 |
return auth_sia_password(authctxt, password) && ok; |
| 82 |
#endif |
| 83 |
#ifdef KRB5 |
76 |
#ifdef KRB5 |
| 84 |
if (options.kerberos_authentication == 1) { |
77 |
if (options.kerberos_authentication == 1) { |
| 85 |
int ret = auth_krb5_password(authctxt, password); |
78 |
int ret = auth_krb5_password(authctxt, password); |