Bugzilla – Attachment 116 Details for
Bug 145
sshd fails to increment AIX login failed counter
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Merge all previous patches and diff against -cvs
openssh-aixauth.patch (text/plain), 1.76 KB, created by
Darren Tucker
on 2002-06-21 23:43:55 AEST
(
hide
)
Description:
Merge all previous patches and diff against -cvs
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2002-06-21 23:43:55 AEST
Size:
1.76 KB
patch
obsolete
>Index: auth.c >=================================================================== >RCS file: /cvs/openssh/auth.c,v >retrieving revision 1.55 >diff -u -r1.55 auth.c >--- auth.c 22 May 2002 05:06:28 -0000 1.55 >+++ auth.c 21 Jun 2002 12:48:50 -0000 >@@ -256,6 +256,14 @@ > get_remote_ipaddr(), > get_remote_port(), > info); >+ >+#ifdef WITH_AIXAUTHENTICATE >+ if (authenticated == 0 && strcmp(method, "password") == 0) >+ loginfailed(authctxt->user, >+ get_canonical_hostname(options.verify_reverse_mapping), >+ "ssh"); >+#endif /* WITH_AIXAUTHENTICATE */ >+ > } > > /* >Index: auth1.c >=================================================================== >RCS file: /cvs/openssh/auth1.c,v >retrieving revision 1.71 >diff -u -r1.71 auth1.c >--- auth1.c 21 Jun 2002 06:21:11 -0000 1.71 >+++ auth1.c 21 Jun 2002 12:48:50 -0000 >@@ -323,12 +323,6 @@ > return; > > if (authctxt->failures++ > AUTH_FAIL_MAX) { >-#ifdef WITH_AIXAUTHENTICATE >- /* XXX: privsep */ >- loginfailed(authctxt->user, >- get_canonical_hostname(options.verify_reverse_mapping), >- "ssh"); >-#endif /* WITH_AIXAUTHENTICATE */ > packet_disconnect(AUTH_FAIL_MSG, authctxt->user); > } > >Index: auth2.c >=================================================================== >RCS file: /cvs/openssh/auth2.c,v >retrieving revision 1.107 >diff -u -r1.107 auth2.c >--- auth2.c 21 Jun 2002 06:21:11 -0000 1.107 >+++ auth2.c 21 Jun 2002 12:48:50 -0000 >@@ -232,12 +232,6 @@ > authctxt->success = 1; > } else { > if (authctxt->failures++ > AUTH_FAIL_MAX) { >-#ifdef WITH_AIXAUTHENTICATE >- /* XXX: privsep */ >- loginfailed(authctxt->user, >- get_canonical_hostname(options.verify_reverse_mapping), >- "ssh"); >-#endif /* WITH_AIXAUTHENTICATE */ > packet_disconnect(AUTH_FAIL_MSG, authctxt->user); > } > methods = authmethods_get();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 145
: 116