Displaying 1 result from an estimated 1 matches for "pr_pw".
Did you mean:
pr_pp
2002 Mar 25
0
[Bug 184] New: 3.1p1 openssh fails to build a working sshd on Trusted HP-UX 10.26
...prot.h>
+ #endif
RCSID("$OpenBSD: auth2.c,v 1.85 2002/02/24 19:14:59 markus Exp $");
#include <openssl/evp.h>
***************
*** 183,190 ****
--- 187,209 ----
if (authctxt->attempt++ == 0) {
/* setup auth context */
+ #ifdef TRUSTED_HPUX
+ struct pr_passwd *pr_pw = NULL;
+ #endif
struct passwd *pw = NULL;
pw = getpwnam(user);
+
+ #ifdef TRUSTED_HPUX
+ //Trusted HP-UX passwords are stored differently
+ //you need to call getprpwnam to get the password for
+ //a user.
+ pr_pw = getprpwnam(pw->pw_name);
+ //This dies with a bus error, bu...