Bugzilla – Attachment 1684 Details for
Bug 1638
Skip the initial empty-password check
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch solving the problem
skip_initial.patch (text/plain), 1.10 KB, created by
jchadima
on 2009-08-31 18:05:59 AEST
(
hide
)
Description:
Patch solving the problem
Filename:
MIME Type:
Creator:
jchadima
Created:
2009-08-31 18:05:59 AEST
Size:
1.10 KB
patch
obsolete
>diff -up openssh-5.2p1/auth1.c.skip-initial openssh-5.2p1/auth1.c >--- openssh-5.2p1/auth1.c.skip-initial 2008-07-09 12:54:05.000000000 +0200 >+++ openssh-5.2p1/auth1.c 2009-08-11 19:57:08.370442391 +0200 >@@ -244,7 +244,7 @@ do_authloop(Authctxt *authctxt) > authctxt->valid ? "" : "invalid user ", authctxt->user); > > /* If the user has no password, accept authentication immediately. */ >- if (options.password_authentication && >+ if (options.permit_empty_passwd && options.password_authentication && > #ifdef KRB5 > (!options.kerberos_authentication || options.kerberos_or_local_passwd) && > #endif >diff -up openssh-5.2p1/auth2-none.c.skip-initial openssh-5.2p1/auth2-none.c >--- openssh-5.2p1/auth2-none.c.skip-initial 2008-07-02 14:56:09.000000000 +0200 >+++ openssh-5.2p1/auth2-none.c 2009-08-11 19:57:08.372308492 +0200 >@@ -65,7 +65,7 @@ userauth_none(Authctxt *authctxt) > if (check_nt_auth(1, authctxt->pw) == 0) > return (0); > #endif >- if (options.password_authentication) >+ if (options.permit_empty_passwd && options.password_authentication) > return (PRIVSEP(auth_password(authctxt, ""))); > return (0); > }
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 1638
: 1684