Bugzilla – Attachment 696 Details for
Bug 908
AIX OpenSSH allows too many failing login attempts
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
proposed patch
aix-login-patch.patch (text/plain), 961 bytes, created by
Matt Small
on 2004-07-31 09:24:58 AEST
(
hide
)
Description:
proposed patch
Filename:
MIME Type:
Creator:
Matt Small
Created:
2004-07-31 09:24:58 AEST
Size:
961 bytes
patch
obsolete
>$ diff -C5 openssh/openbsd-compat/port-aix.c ../openssh/openbsd-compat/port-a> >*** openssh/openbsd-compat/port-aix.c Mon Jun 28 03:11:19 2004 >--- ../openssh/openbsd-compat/port-aix.c Fri Jul 30 18:15:31 2004 >*************** >*** 110,119 **** >--- 110,129 ---- > aix_remove_embedded_newlines(authmsg); > debug3("AIX/authenticate result %d, msg %.100s", result, > authmsg); > } while (reenter); > >+ /* check to make sure their login hasn't expired in the meantime */ >+ if (!sys_auth_allowed_user(ctxt->pw)) >+ { >+ debug3("AIX/sys_auth_allowed_user returned false, disallowing " >+ "login"); >+ >+ ctxt->valid=0; >+ result=1; /* could just as well return from here */ >+ } >+ > if (result == 0) { > authsuccess = 1; > > host = (char *)get_canonical_hostname(options.use_dns); > >
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 908
: 696