search for: have_type_in_utmp

Displaying 10 results from an estimated 10 matches for "have_type_in_utmp".

1999 Dec 27
1
More patches to fix NetBSD compiling
...s); ], [AC_MSG_RESULT(no)] ) +AC_MSG_CHECKING([whether utmp.h has ut_pid field]) +AC_EGREP_HEADER(ut_pid, utmp.h, + [AC_DEFINE(HAVE_PID_IN_UTMP) AC_MSG_RESULT(yes); ], + [AC_MSG_RESULT(no)] +) +AC_MSG_CHECKING([whether utmp.h has ut_type field]) +AC_EGREP_HEADER(ut_type, utmp.h, + [AC_DEFINE(HAVE_TYPE_IN_UTMP) AC_MSG_RESULT(yes); ], + [AC_MSG_RESULT(no)] +) dnl Look for lastlog location AC_ARG_WITH(lastlog, --- configure.orig Mon Dec 27 09:15:10 1999 +++ configure Mon Dec 27 09:15:17 1999 @@ -2348,6 +2348,48 @@ fi rm -f conftest* +echo $ac_n "checking whether utmp.h has ut_pid field"&...
2000 Jan 27
1
Long awaited round 1 of NeXT patches.
...SG_RESULT(no)] ) +AC_MSG_CHECKING([whether utmp.h has ut_user or ut_name field]) +AC_EGREP_HEADER(ut_user, utmp.h, + [AC_DEFINE(HAVE_USER_IN_UTMP) AC_MSG_RESULT(yes); ], + [AC_MSG_RESULT(no)] +AC_MSG_CHECKING([whether utmp.h has ut_type field]) +AC_EGREP_HEADER(ut_type, utmp.h, + [AC_DEFINE(HAVE_TYPE_IN_UTMP) AC_MSG_RESULT(yes); ], + [AC_MSG_RESULT(no)] AC_MSG_CHECKING([whether utmp.h has ut_addr field]) AC_EGREP_HEADER(ut_addr, utmp.h, [AC_DEFINE(HAVE_ADDR_IN_UTMP) AC_MSG_RESULT(yes); ], @@ -487,7 +501,7 @@ ], [ AC_MSG_CHECKING([location of lastlog file]) - for lastlog in /var/log...
2000 May 17
4
Openssh-2.1.0p1 test release
This to announce a test release of 2.1.0p1 before making it widely available. This release includes many fixes to problems reported over the last week. In particular: - spurious error and coredumps caused by the inbuilt entropy gathering - RSAref detection - Compilation fixes for Solaris and others It also contains (completely untested) support for compiling without RSA support. This may be
2000 Jul 01
0
Problem with cleaning utmp entry
.../* struct utmp and struct utmpx fields */ #define HAVE_HOST_IN_UTMP 1 /* #undef HAVE_HOST_IN_UTMPX */ #define HAVE_ADDR_IN_UTMP 1 /* #undef HAVE_ADDR_IN_UTMPX */ /* #undef HAVE_ADDR_V6_IN_UTMP */ /* #undef HAVE_ADDR_V6_IN_UTMPX */ /* #undef HAVE_SYSLEN_IN_UTMPX */ #define HAVE_PID_IN_UTMP 1 #define HAVE_TYPE_IN_UTMP 1 /* #undef HAVE_TYPE_IN_UTMPX */ /* #undef HAVE_TV_IN_UTMP */ /* #undef HAVE_TV_IN_UTMPX */ #define HAVE_ID_IN_UTMP 1 /* #undef HAVE_EXIT_IN_UTMP */ #define HAVE_TIME_IN_UTMP 1 /* #undef HAVE_TIME_IN_UTMPX */
2000 Jul 02
0
patch for NetBSD utmp (ut_name instead of ut_host)
...OF(li->username, ut->ut_user)) == 0) { + MIN_SIZEOF(li->username, ut->ut_user)) == 0) +# elif defined(HAVE_NAME_IN_UTMP) + if (strncmp(li->username, ut->ut_name, + MIN_SIZEOF(li->username, ut->ut_name)) == 0) +# else +# error no ut_user nor ut_name +# endif + { # ifdef HAVE_TYPE_IN_UTMP @@ -1163,4 +1177,12 @@ { +# ifdef HAVE_USER_IN_UTMP if ( strncmp(li->username, utx->ut_user, - MIN_SIZEOF(li->username, utx->ut_user)) == 0 ) { + MIN_SIZEOF(li->username, utx->ut_user)) == 0 ) +# elif defined(HAVE_NAME_IN_UTMP) + if ( strncmp(li->username, utx->ut_name,...
2011 Aug 22
0
OpenSSH on ULTRIX
...lib-1.2.5, openssl-0.9.8m and prngd-0.9.29, several GNU utilities and gcc-3.0.4. To build openssh one has to check in various files if <sys/socket.h> and/or <netinet/ip.h> are multiply defined, because of "includes.h". edit config.h to #define BROKEN_READV_COMPARISON #undef HAVE_TYPE_IN_UTMP #define DISABLE_UTMPX #undef ENABLE_PKCS11 in ssh-keygen.c remove references to pkcs11_init and pkcs11_terminate on lines 1410 and 1493. to get sshd working one has to either set "UsePrivilegeSeparation no" or "Compression no" in sshd_config. I finally went with "Compres...
2000 Jul 04
0
AW: FreeBSD 3.5-STABLE
...ogin(struct logininfo *li, struct utmp *ut) { - if (strncmp(li->username, ut->ut_user, - MIN_SIZEOF(li->username, ut->ut_user)) == 0) { + if (strncmp(li->username, ut->ut_name, + MIN_SIZEOF(li->username, ut->ut_name)) == 0) { # ifdef HAVE_TYPE_IN_UTMP if (ut->ut_type & USER_PROCESS) return 1; @@ -1161,7 +1161,7 @@ static int wtmpx_islogin(struct logininfo *li, struct utmpx *utx) { - if ( strncmp(li->username, utx->ut_user, + if ( strncmp(li->username, utx->ut_name,...
2003 Dec 30
8
[Bug 651] SCO 3.2v4.2 and OpenSSH 3.7.1p1 --> connection hangs and does not close (ssh2 only)
http://bugzilla.mindrot.org/show_bug.cgi?id=651 ------- Additional Comments From vikashb at comparexafrica.co.za 2003-12-30 16:39 ------- tried openssh-SNAP-20031223 does not compile: (cd openbsd-compat && make) gcc -g -O2 -Wall -Wpointer-arith -Wno-uninitialized -I. -I.. -I. -I./.. -I/usr/local/ssl/include -Dftruncate=chsize -I/usr/local/include -DHAVE_CONFIG_H -c
2005 Sep 19
1
ssh hangs or gives Segmentation fault
...L 1 /* #undef RSAREF */ #define HAVE_STRUCT_TIMEVAL 1 #define HAVE_HOST_IN_UTMP 1 #define HAVE_HOST_IN_UTMPX 1 #define HAVE_ADDR_IN_UTMP 1 #define HAVE_ADDR_IN_UTMPX 1 #define HAVE_ADDR_V6_IN_UTMP 1 #define HAVE_ADDR_V6_IN_UTMPX 1 /* #undef HAVE_SYSLEN_IN_UTMPX */ #define HAVE_PID_IN_UTMP 1 #define HAVE_TYPE_IN_UTMP 1 #define HAVE_TYPE_IN_UTMPX 1 #define HAVE_TV_IN_UTMP 1 #define HAVE_TV_IN_UTMPX 1 #define HAVE_ID_IN_UTMP 1 #define HAVE_ID_IN_UTMPX 1 #define HAVE_EXIT_IN_UTMP 1 /* #undef HAVE_TIME_IN_UTMP */ /* #undef HAVE_TIME_IN_UTMPX */ /* #undef DISABLE_LOGIN */ /* #undef DISABLE_PUTUTLINE */ /* #undef DIS...
2006 Apr 11
0
Problem building openssh-4.3p2 under cygwin and windows XP
...STAT_H 1 #define HAVE_SYS_SYSMACROS_H 1 #define HAVE_SYS_TIME_H 1 #define HAVE_SYS_UN_H 1 #define HAVE_TCGETPGRP 1 #define HAVE_TCSENDBREAK 1 #define HAVE_TIME 1 #define HAVE_TIME_H 1 #define HAVE_TIME_IN_UTMP 1 #define HAVE_TIME_IN_UTMPX 1 #define HAVE_TRUNCATE 1 #define HAVE_TV_IN_UTMPX 1 #define HAVE_TYPE_IN_UTMP 1 #define HAVE_TYPE_IN_UTMPX 1 #define HAVE_UINTXX_T 1 #define HAVE_UNISTD_H 1 #define HAVE_UNSETENV 1 #define HAVE_UNSIGNED_LONG_LONG 1 #define HAVE_UPDWTMP 1 #define HAVE_UTIMES 1 #define HAVE_UTIME_H 1 #define HAVE_UTMPNAME 1 #define HAVE_UTMPXNAME 1 #define HAVE_UTMPX_H 1 #define HAVE_UTMP_H 1...