search for: have_getpwanam

Displaying 6 results from an estimated 6 matches for "have_getpwanam".

2000 May 12
0
SunOS 4.x port
...E_T) AC_MSG_RESULT(yes) ], [AC_MSG_RESULT(no)] --- acconfig.h.DIST Mon May 1 17:56:41 2000 +++ acconfig.h Fri May 12 16:09:17 2000 @@ -101,6 +101,9 @@ /* Define if you want have trusted HPUX */ #undef HAVE_HPUX_TRUSTED_SYSTEM_PW +/* Define if you have getpwanam(3) [SunOS 4.x] */ +#undef HAVE_GETPWANAM + /* Defined if in_systm.h needs to be included with netinet/ip.h (HPUX - <sigh/>) */ #undef NEED_IN_SYSTM_H @@ -117,6 +120,7 @@ #undef HAVE_UINTXX_T #undef HAVE_SOCKLEN_T #undef HAVE_SIZE_T +#undef HAVE_SSIZE_T #undef HAVE_STRUCT_SOCKADDR_STORAGE #undef HAVE_STRUCT_ADDRINFO #undef...
2003 Sep 08
2
Variable declarations in xcrypt.c
...h_cvs/openbsd-compat/xcrypt.c,v retrieving revision 1.4 diff -u -p -r1.4 xcrypt.c --- openbsd-compat/xcrypt.c 6 Sep 2003 23:43:42 -0000 1.4 +++ openbsd-compat/xcrypt.c 8 Sep 2003 06:52:26 -0000 @@ -96,18 +96,25 @@ shadow_pw(struct passwd *pw) pw_password = spw->sp_pwdp; # endif # if defined(HAVE_GETPWANAM) && !defined(DISABLE_SHADOW) - struct passwd_adjunct *spw; - if (issecure() && (spw = getpwanam(pw->pw_name)) != NULL) - pw_password = spw->pwa_passwd; + if (issecure()) { + struct passwd_adjunct *spw; + + if (spw = getpwanam(pw->pw_name) != NULL) + pw_password = spw-&...
2006 Apr 18
0
configure sys/audit.h WARNING
...------------------- ## checking for sys/audit.h... yes (This is from openbssh 4.2p1.) Doing a bit of retrocomputing here... SunOS 4.1.4 requires <sys/label.h> to define the blabel_t typedef before <sys/audit.h>, or you get compile errors. I notice that openbsd-compat/xcrypt.c, where HAVE_GETPWANAM is used, does get this right. Other than that, it appears to be working. The lack of a prototype in scope for the emulated strerror() function causes a lot of warnings over printf formats. Fortunately, sizeof(char *) == sizeof(int), so it ends up working anyway, but you may want to fix that. I...
2005 Sep 19
1
ssh hangs or gives Segmentation fault
...def USE_AFS */ /* #undef SKEY */ /* #undef LIBWRAP */ #define HAVE_LOGIN 1 #define HAVE_DAEMON 1 #define HAVE_GETPAGESIZE 1 #define XAUTH_PATH "/usr/X11R6/bin/xauth" /* #undef HAVE_MD5_PASSWORDS */ /* #undef DISABLE_SHADOW */ #define HAS_SHADOW_EXPIRE 1 /* #undef HAVE_OSF_SIA */ /* #undef HAVE_GETPWANAM */ /* #undef HAVE_OLD_PAM */ /* #undef PAM_SUN_CODEBASE */ /* #undef MAIL_DIRECTORY */ #define HAVE_U_INT 1 #define HAVE_INTXX_T 1 #define HAVE_U_INTXX_T 1 #define HAVE_UINTXX_T 1 #define HAVE_INT64_T 1 #define HAVE_U_INT64_T 1 #define HAVE_U_CHAR 1 #define HAVE_SIZE_T 1 #define HAVE_SSIZE_T 1 #def...
2006 Sep 25
1
[PATCH] implementation of getpeereid() for Solaris
...h.in Mon Sep 25 11:49:06 2006 @@ -354,6 +354,9 @@ /* Define to 1 if you have the `getpeereid' function. */ #undef HAVE_GETPEEREID +/* Define to 1 if you have the `getpeerucred' function. */ +#define HAVE_GETPEERUCRED + /* Define to 1 if you have the `getpwanam' function. */ #undef HAVE_GETPWANAM @@ -375,6 +378,9 @@ /* Define to 1 if you have the `getttyent' function. */ #undef HAVE_GETTTYENT +/* Define to 1 if you have the <ucred.h> header file. */ +#define HAVE_UCRED_H + /* Define to 1 if you have the `getutent' function. */ #undef HAVE_GETUTENT diff -ur openssh/co...
2005 Aug 26
0
Patch for UnixWare 7
...ssh/openbsd-compat/xcrypt.c 2005-08-25 21:14:50.830527003 -0700 @@ -91,7 +91,11 @@ struct spwd *spw = getspnam(pw->pw_name); if (spw != NULL) +#ifdef HAVE_LIBIAF + pw_password = get_iaf_password(pw); +#else pw_password = spw->sp_pwdp; +#endif /* HAVE_LIBIAF */ # endif # if defined(HAVE_GETPWANAM) && !defined(DISABLE_SHADOW) struct passwd_adjunct *spw; --- openssh/session.c.old 2005-07-28 17:41:12.124914028 -0700 +++ openssh/session.c 2005-08-24 16:51:30.507680006 -0700 @@ -1334,6 +1334,11 @@ # ifdef _AIX aix_usrinfo(pw); # endif /* _AIX */ +# ifdef HAVE_LIBIAF + if (set_id(...