Displaying 14 results from an estimated 14 matches for "pam_sun_codebase".
2001 Oct 29
2
pam_open_session w/o tty on Solaris
...e following change appears to address the problem:
diff -ru openssh-2.9.9p2_orig/auth-pam.c openssh-2.9.9p2/auth-pam.c
--- openssh-2.9.9p2_orig/auth-pam.c Mon Apr 23 14:38:37 2001
+++ openssh-2.9.9p2/auth-pam.c Mon Oct 29 15:32:08 2001
@@ -272,6 +272,12 @@
do_pam_set_conv(&conv);
+#ifdef PAM_SUN_CODEBASE
+ if (ttyname == NULL) {
+ ttyname = "";
+ }
+#endif /* PAM_SUN_CODEBASE */
+
if (ttyname != NULL) {
debug("PAM setting tty to \"%.200s\"", ttyname);
pam_retval = pam_set_item(__pamh, PAM_TTY, ttyname);
Obviously that expands the meaning of PAM_SUN_CODEBASE a...
2006 Jun 29
1
SunOS 4.1.4 "configure: WARNING" for sys/audit.h and sys/dir.h
...possibility is to add the line "AC_DEFINE(HAVE_SYS_TYPES_H)" to
"configure.ac" as follows for openssh-SNAP-20060626/configure.ac:
429 *-*-sunos4*)
430 CPPFLAGS="$CPPFLAGS -DSUNOS4"
431 AC_CHECK_FUNCS(getpwanam)
432 AC_DEFINE(PAM_SUN_CODEBASE)
+ add this + AC_DEFINE(HAVE_SYS_TYPES_H)
433 conf_utmp_location=/etc/utmp
434 conf_wtmp_location=/var/adm/wtmp
435 conf_lastlog_location=/var/adm/lastlog
436 AC_DEFINE(USE_PIPES)
437 ;;
However, the sys/label.h dependency would take a...
2002 Mar 12
2
sys/queue.h
...+122,6 @@
check_for_libcrypt_later=1
AC_DEFINE(DONT_TRY_OTHER_AF)
AC_DEFINE(PAM_TTY_KLUDGE)
- AC_DEFINE(HAVE_BOGUS_SYS_QUEUE_H)
inet6_default_4in6=yes
;;
mips-sony-bsd|mips-sony-newsos4)
@@ -175,7 +173,6 @@
CPPFLAGS="$CPPFLAGS -DSUNOS4"
AC_CHECK_FUNCS(getpwanam)
AC_DEFINE(PAM_SUN_CODEBASE)
- AC_DEFINE(HAVE_BOGUS_SYS_QUEUE_H)
conf_utmp_location=/etc/utmp
conf_wtmp_location=/var/adm/wtmp
conf_lastlog_location=/var/adm/lastlog
@@ -185,7 +182,6 @@
CPPFLAGS="$CPPFLAGS -I/usr/local/include"
LDFLAGS="$LDFLAGS -L/usr/local/lib"
LIBS="$LIBS -lc89"
-...
2015 Jul 07
1
[Bug 2426] New: OpenSSH doesn't need the second call to do_pam_setcred() on non-Linux platforms
...roup membership.
There is an earlier call to do_pam_setcred() in main() so this
additional call to do_pam_setcred() doesn't need to be called on
non-Linux platforms. I don't see any config.h #defines for Linux PAM
so
this code could be ifdef'ed out for Solaris by including a check for
PAM_SUN_CODEBASE.
--
You are receiving this mail because:
You are watching the assignee of the bug.
2003 Sep 22
5
[Bug 703] non-interactive commands fail on solaris 8
http://bugzilla.mindrot.org/show_bug.cgi?id=703
Summary: non-interactive commands fail on solaris 8
Product: Portable OpenSSH
Version: 3.7.1p1
Platform: Sparc
OS/Version: Solaris
Status: NEW
Severity: normal
Priority: P2
Component: PAM support
AssignedTo: openssh-bugs at mindrot.org
2004 Apr 02
1
PAM_LDAP fails with 3.7.1p2 when Shadow password installed on HP-UX 11.11
...s with PAM_LDAP with Shadow passwords.
I am wondering why 3.7.1p2 alone do not work when 3.6, and 3.8 works.
Both 3.7 and 3.8 have the following macros in config.h
#undef DISABLE_SHADOW
#define HAS_SHADOW_EXPIRE 1
#define HAVE_SHADOW_H 1
#define HAVE_SECURITY_PAM_APPL_H 1
#define USE_PAM 1
#define PAM_SUN_CODEBASE 1
#define HAVE_LIBPAM 1
/* #undef PAM_TTY_KLUDGE */
/* #undef HAVE_OLD_PAM */
/* #undef HAVE_PAM_GETENVLIST */
/* #undef HAVE_PAM_PUTENV */
Some more info on the PAM_LDAP library used on the system.
When Shadow password bundle is installed on the system, shadow file enable
and disable command is...
2002 Jan 30
0
[Bug 87] New: Last logon that gets reported upon login is the current login time
...getting information that you may
never use, but it seems that the portable release does have a few things in it
explicit for one system or another, so this may be viable. The definition of
do_login could be changed and the call could be made in do_exec_pty only on
Solaris using PAM (using a #ifdef PAM_SUN_CODEBASE), but that seemed overly
complicated to me. Any comments, anyone? Patch is below.
--- session.c~ Sat Dec 1 18:37:08 2001
+++ session.c Tue Jan 29 16:14:25 2002
@@ -128,7 +128,7 @@
void do_exec_pty(Session *, const char *);
void do_exec_no_pty(Session *, const char *);
void do_exec(Ses...
2001 Mar 22
0
Solaris UseLogin problem
...========
RCS file: /cvs/openssh_cvs/configure.in,v
retrieving revision 1.267
diff -u -r1.267 configure.in
--- configure.in 2001/03/18 23:09:28 1.267
+++ configure.in 2001/03/22 21:28:01
@@ -165,6 +165,7 @@
LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib"
need_dash_r=1
AC_DEFINE(PAM_SUN_CODEBASE)
+ AC_DEFINE(LOGIN_NEEDS_UTMPX)
# hardwire lastlog location (can't detect it on some versions)
conf_lastlog_location="/var/adm/lastlog"
AC_MSG_CHECKING(for obsolete utmp and wtmp in solaris2.x)
Index: loginrec.c
===================================================================...
2001 Apr 04
1
Solaris UseLogin problems
...rsions of /bin/login need the TERM supplied on the commandline */
+#undef LOGIN_NEEDS_TERM
+
/* Define is libutil has login() function */
#undef HAVE_LIBUTIL_LOGIN
Index: configure.in
@@ -165,6 +165,8 @@
LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib"
need_dash_r=1
AC_DEFINE(PAM_SUN_CODEBASE)
+ AC_DEFINE(LOGIN_NEEDS_UTMPX)
+ AC_DEFINE(LOGIN_NEEDS_TERM)
# hardwire lastlog location (can't detect it on some versions)
conf_lastlog_location="/var/adm/lastlog"
AC_MSG_CHECKING(for obsolete utmp and wtmp in solaris2.x)
Index: session.c
@@ -126,6 +126,7 @@
void session_proc...
2001 Aug 13
1
[PATCH] Maildir support
...r --exclude=configure openssh-2.9p2/config.h.in openssh-2.9p2.maildir/config.h.in
--- openssh-2.9p2/config.h.in Sun Jun 17 06:09:47 2001
+++ openssh-2.9p2.maildir/config.h.in Fri Aug 10 12:53:30 2001
@@ -237,8 +237,11 @@
/* to the conversation function with an extra level of indirection */
#undef PAM_SUN_CODEBASE
-/* Set this to your mail directory if you don't have maillock.h */
+/* Set this to your mail directory if you don't have maillock.h or paths.h */
#undef MAIL_DIRECTORY
+
+/* Set this to enable support for Maildir style mailboxes. */
+#undef MAILDIR_FORMAT
/* Data types */
#undef HAV...
2001 Apr 29
2
PATCH: UseLogin fix for 2.9p1 (w/improved last-login time)
...e if you want to specify the path to your lastlog file */
#undef CONF_LASTLOG_FILE
Index: configure.in
--- configure.in 2001/04/26 04:40:28 1.282
+++ configure.in 2001/04/29 18:12:36
@@ -153,6 +153,8 @@
LDFLAGS="$LDFLAGS -L/usr/local/lib -R/usr/local/lib"
need_dash_r=1
AC_DEFINE(PAM_SUN_CODEBASE)
+ AC_DEFINE(LOGIN_NEEDS_UTMPX)
+ AC_DEFINE(LOGIN_NEEDS_TERM)
# hardwire lastlog location (can't detect it on some versions)
conf_lastlog_location="/var/adm/lastlog"
AC_MSG_CHECKING(for obsolete utmp and wtmp in solaris2.x)
Index: loginrec.c
--- loginrec.c 2001/02/22 21:23:21 1....
2003 Feb 11
1
Problems configuring OpenSSH 3.5p1 on Sol 5.8
...ine PACKAGE_NAME ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define PACKAGE_STRING ""
#define PACKAGE_BUGREPORT ""
#define WORDS_BIGENDIAN 1
#define _FILE_OFFSET_BITS 64
#define LOGIN_PROGRAM_FALLBACK "/usr/bin/login"
#define PAM_SUN_CODEBASE 1
#define LOGIN_NEEDS_UTMPX 1
#define LOGIN_NEEDS_TERM 1
#define PAM_TTY_KLUDGE 1
#define DISABLE_UTMP 1
#define DISABLE_WTMP 1
#define STDC_HEADERS 1
#define HAVE_SYS_TYPES_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STRING_H 1
#define HAVE_MEMORY_H 1
#define HAVE_STRINGS_H...
2005 Sep 19
1
ssh hangs or gives Segmentation fault
...#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
#define HAVE_CLOCK_T 1
#define HAVE_MODE_T 1
#define HAVE_PI...
2008 Apr 21
3
FIPS 140-2 OpenSSL(2007) patches
...n(passphrase));
MD5_Final(digest, &md);
--- openssh-4.7p1/configure.ac Mon Dec 17 20:25:49 2007
+++ openssh-4.7p1/configure.ac Mon Dec 17 20:29:36 2007
@@ -438,6 +438,7 @@
if test -z "$GCC"; then
CFLAGS="$CFLAGS -Ae"
fi
+ HPUX=1
;;
*-*-hpux11*)
AC_DEFINE(PAM_SUN_CODEBASE, 1,
@@ -449,6 +450,7 @@
AC_DEFINE(USE_BTMP, 1, [Use btmp to log bad logins])
check_for_hpux_broken_getaddrinfo=1
check_for_conflicting_getspnam=1
+ HPUX=1
;;
esac
@@ -460,6 +462,7 @@
protected password database])
disable_ptmx_check=yes
LIBS="$LIBS -lsecpw"
+ HP...