search for: have_getpeereid

Displaying 11 results from an estimated 11 matches for "have_getpeereid".

2018 Aug 17
3
Call for testing: OpenSSH 7.8
On SPARC Solaris 10, using Solaris' native OpenSSL and Solaris Studio 12.2, I got the following errors: run test agent-getpeereid.sh ... ssh-add did not fail for nobody: 1 < 2 failed disallow agent attach from other uid gmake[1]: *** [t-exec] Error 1 gmake[1]: Leaving directory `/scratch/wieland/src/openssh/openssh-SNAP-20180817/regress' gmake: *** [tests] Error 2 -- Jeff Wieland,
2006 Sep 25
1
[PATCH] implementation of getpeereid() for Solaris
...t -------------- diff -ur openssh/config.h.in openssh-SNAP-20060921-patched//config.h.in --- openssh/config.h.in Wed Sep 20 16:30:40 2006 +++ openssh-SNAP-20060921-patched//config.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 t...
2005 Feb 25
1
ssh client Symbol getpeereid (number 34) is not exported from dependent module /usr/lib/libc.a(shr.o).
Hello I've Compiled openssh 3.9.p1 on AIX 5.2: <source Dir>/contrib/findssl.sh Searching for OpenSSL header files. 0x009060dfL /opt/freeware/include/openssl/opensslv.h Searching for OpenSSL shared library files. Searching for OpenSSL static library files. 0x009060dfL /opt/freeware/lib/libcrypto.a 0x009060dfL /opt/freeware/64/lib/libcrypto.a 0x009060dfL /usr/local/lib/libcrypto.a
2007 Oct 18
0
[PATCH] Use credentials and permissions on control socket where available
...- fprintf(stderr, _("Could not obtain PID: %s\n"), strerror(errno)); + fprintf(stderr, _("Could not establish peer credentials: %s\n"), strerror(errno)); return 1; } + if(cred.uid != 0) { + fprintf(stderr, _("Peer is not root")); + return 1; + } +#elif defined(HAVE_GETPEEREID) + uid_t peer_euid; + gid_t peer_egid; + + if(getpeereid(fd, &peer_euid, &peer_egid) != 0) { + fprintf(stderr, _("Could not establish peer credentials: %s\n"), strerror(errno)); + return 1; + } + if(peer_euid != 0) { + fprintf(stderr, _("Peer is not root")); + return...
2003 Jun 20
0
[PATCH] Regression test portabilization.
...-n -> echon Use $EXEEXT where /bin/ls is used as a data file. top-level Makefile: Hooks to run from top-level make. Makefile: HP-UX, AIX don't have /dev/stdin or /dev/stdout. General replacement for BSD make specific stuff. agent-getpeereid.sh HP-UX doesn't have getpeereid(). Skip if HAVE_GETPEEREID is not defined. agent-ptrace.sh: Doesn't work on some platforms. Skip those. reconfigure.sh: sshd is not always in /usr/sbin. rekey.sh: HP-UX does not have /dev/zero. The sparse file will take less disk space too. sftp-cmds.sh: Solaris has unreadable files in /bin (eg /bin/lp). HP-UX, AIX...
2005 Sep 19
1
ssh hangs or gives Segmentation fault
...O 1 #define HAVE_FUTIMES 1 #define HAVE_GAI_STRERROR 1 #define HAVE_GETADDRINFO 1 /* #undef HAVE_GETAUDIT */ /* #undef HAVE_GETAUDIT_ADDR */ #define HAVE_GETCWD 1 #define HAVE_GETGROUPLIST 1 /* #undef HAVE_GETLUID */ #define HAVE_GETNAMEINFO 1 #define HAVE_GETOPT 1 #define HAVE_GETOPT_H 1 /* #undef HAVE_GETPEEREID */ /* #undef HAVE_GETPWANAM */ #define HAVE_GETRLIMIT 1 /* #undef HAVE_GETRUSAGE */ #define HAVE_GETTIMEOFDAY 1 #define HAVE_GETTTYENT 1 #define HAVE_GETUTENT 1 #define HAVE_GETUTID 1 #define HAVE_GETUTLINE 1 #define HAVE_GETUTXENT 1 #define HAVE_GETUTXID 1 #define HAVE_GETUTXLINE 1 #define HAVE_GL...
2019 Oct 29
0
auth logging or auditing
...GETGRENT_R_DECL ?? HAVE_GETGRGID_R ?? HAVE_GETGRNAM ?? HAVE_GETGRNAM_R ?? HAVE_GETGROUPLIST ?? HAVE_GETHOSTBYADDR ?? HAVE_GETHOSTBYNAME ?? HAVE_GETHOSTBYNAME_R ?? HAVE_GETHOSTENT ?? HAVE_GETHOSTENT_R ?? HAVE_GETHOSTNAME ?? HAVE_GETIFADDRS ?? HAVE_GETMNTENT ?? HAVE_GETNAMEINFO ?? HAVE_GETPAGESIZE ?? HAVE_GETPEEREID ?? HAVE_GETPGRP ?? HAVE_GETPROGNAME ?? HAVE_GETPWENT_R ?? HAVE_GETPWENT_R_DECL ?? HAVE_GETPWNAM ?? HAVE_GETPWNAM_R ?? HAVE_GETPWUID_R ?? HAVE_GETQUOTA_RSLT_GETQUOTA_RSLT_U ?? HAVE_GETRLIMIT ?? HAVE_GETSPNAM ?? HAVE_GETTEXT ?? HAVE_GETTIMEOFDAY_TZ ?? HAVE_GETUTXENT ?? HAVE_GETXATTR ?? HAVE_GET_CURRE...
2013 May 14
3
frequent tdb corruption
...ETDENTS HAVE_GETDIRENTRIES HAVE_GETGRENT HAVE_GETGRENT_R HAVE_GETGRENT_R_DECL HAVE_GETGRGID_R HAVE_GETGRNAM HAVE_GETGRNAM_R HAVE_GETGROUPLIST HAVE_GETHOSTBYNAME HAVE_GETIFADDRS HAVE_GETNAMEINFO HAVE_GETNETGRENT HAVE_GETNETGRENT_PROTOTYPE HAVE_GETPAGESIZE HAVE_GETPEEREID HAVE_GETPGRP HAVE_GETPWENT_R HAVE_GETPWENT_R_DECL HAVE_GETPWNAM_R HAVE_GETPWUID_R HAVE_GETRLIMIT HAVE_GETTIMEOFDAY_TZ HAVE_GLOB HAVE_GRANTPT HAVE_GSSAPI HAVE_GSS_DISPLAY_STATUS HAVE_HISTORY_LIST HAVE_HSTRERROR HAVE_ICONV HAVE_IFACE_GETIFADDRS HAVE_IF_...
2006 Apr 11
0
Problem building openssh-4.3p2 under cygwin and windows XP
...#define HAVE_ENDIAN_H 1 #define HAVE_ENDUTENT 1 #define HAVE_ENDUTXENT 1 #define HAVE_FCHMOD 1 #define HAVE_FCHOWN 1 #define HAVE_FEATURES_H 1 #define HAVE_FUTIMES 1 #define HAVE_GETCWD 1 #define HAVE_GETOPT 1 #define HAVE_GETOPT_H 1 #define HAVE_GETOPT_OPTRESET 1 #define HAVE_GETPAGESIZE 1 #define HAVE_GETPEEREID 1 #define HAVE_GETRLIMIT 1 #define HAVE_GETTIMEOFDAY 1 #define HAVE_GETUTENT 1 #define HAVE_GETUTID 1 #define HAVE_GETUTLINE 1 #define HAVE_GETUTXENT 1 #define HAVE_GETUTXID 1 #define HAVE_GETUTXLINE 1 #define HAVE_GLOB 1 #define HAVE_GLOB_H 1 #define HAVE_HEADER_AD 1 #define HAVE_HOST_IN_UTMP 1 #d...
2020 May 29
2
get_ea_dos_attribute: Cannot get attribute from EA on file .: Error = No data available
Samba 4.12.1, single server with AD+DC on Ubuntu 18.04. Filesystem: /dev/sdb1 on /home type ext4 (rw,relatime,stripe=32750,data=ordered) It all work as expected, but I occasionally get the error in subject which denies access to shares. Restarting Samba will restore functionality. What can be the cause of this problem? Thanks. [2020/05/27 18:24:35.795379, 8]
2020 Jun 03
3
get_ea_dos_attribute: Cannot get attribute from EA on file .: Error = No data available
...GETGRENT_R_DECL HAVE_GETGRGID_R HAVE_GETGRNAM HAVE_GETGRNAM_R HAVE_GETGROUPLIST HAVE_GETHOSTBYADDR HAVE_GETHOSTBYNAME HAVE_GETHOSTBYNAME_R HAVE_GETHOSTENT HAVE_GETHOSTENT_R HAVE_GETHOSTNAME HAVE_GETIFADDRS HAVE_GETMNTENT HAVE_GETNAMEINFO HAVE_GETPAGESIZE HAVE_GETPEEREID HAVE_GETPGRP HAVE_GETPWENT_R HAVE_GETPWENT_R_DECL HAVE_GETPWNAM HAVE_GETPWNAM_R HAVE_GETPWUID_R HAVE_GETQUOTA_RSLT_GETQUOTA_RSLT_U HAVE_GETRLIMIT HAVE_GETSPNAM HAVE_GETTEXT HAVE_GETTIMEOFDAY_TZ HAVE_GETUTXENT HAVE_GETXATTR HAVE_GET_CURRENT_DIR_NAME HAVE_...