Bugzilla – Attachment 383 Details for
Bug 633
Password authentication fails in HP-UX trusted mode due to DISABLE_SHADOW
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Always check for iscomsec() on HP-UX
openssh-hpux-iscomsec.patch (text/plain), 897 bytes, created by
Darren Tucker
on 2003-09-05 15:32:41 AEST
(
hide
)
Description:
Always check for iscomsec() on HP-UX
Filename:
MIME Type:
Creator:
Darren Tucker
Created:
2003-09-05 15:32:41 AEST
Size:
897 bytes
patch
obsolete
>Index: openbsd-compat/xcrypt.c >=================================================================== >RCS file: /usr/local/src/security/openssh/cvs/openssh_cvs/openbsd-compat/xcrypt.c,v >retrieving revision 1.3 >diff -u -p -r1.3 xcrypt.c >--- openbsd-compat/xcrypt.c 11 Aug 2003 13:00:34 -0000 1.3 >+++ openbsd-compat/xcrypt.c 5 Sep 2003 05:34:34 -0000 >@@ -104,10 +104,15 @@ shadow_pw(struct passwd *pw) > > if (spw != NULL) > pw_password = spw->ufld.fd_encrypt; >-# elsif defined(__hpux) && !defined(HAVE_SECUREWARE) >- struct pr_passwd *spw; >- if (iscomsec() && (spw = getprpwnam(pw->pw_name)) != NULL) >- pw_password = spw->ufld.fd_encrypt; >+# endif >+ >+# if defined(__hpux) && !defined(HAVE_SECUREWARE) >+ if (iscomsec()) { >+ struct pr_passwd *spw; >+ >+ if (spw = getprpwnam(pw->pw_name) != NULL) >+ pw_password = spw->ufld.fd_encrypt; >+ } > # endif > > return pw_password;
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 633
:
383
|
385
|
386