diff options
Diffstat (limited to 'auth.c')
-rw-r--r-- | auth.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -256,6 +256,14 @@ auth_log(Authctxt *authctxt, int authenticated, char *method, char *info) | |||
256 | get_remote_ipaddr(), | 256 | get_remote_ipaddr(), |
257 | get_remote_port(), | 257 | get_remote_port(), |
258 | info); | 258 | info); |
259 | |||
260 | #ifdef WITH_AIXAUTHENTICATE | ||
261 | if (authenticated == 0 && strcmp(method, "password") == 0) | ||
262 | loginfailed(authctxt->user, | ||
263 | get_canonical_hostname(options.verify_reverse_mapping), | ||
264 | "ssh"); | ||
265 | #endif /* WITH_AIXAUTHENTICATE */ | ||
266 | |||
259 | } | 267 | } |
260 | 268 | ||
261 | /* | 269 | /* |