search for: innetgr

Displaying 20 results from an estimated 97 matches for "innetgr".

2004 Feb 01
1
innetgr revised netgroup patch against 2.6.0
innetgr.. much easier.. Had a look for the user section but didn't find it in my 15 seconds of looking.. --- access.c 2003-07-30 16:12:27.000000000 +1000 +++ ../rsync-2.6.0-Linux/access.c 2004-02-01 23:21:12.000000000 +1100 @@ -22,10 +22,21 @@ */ #include "rsync.h" +#include...
2001 Sep 29
0
configure.in fixes for 2.9.9p2
configure.in patches for 2.9.9p2: 1. Allow --with-pcre to take a path specifying the root of the PCRE install (ROOT/include, ROOT/lib) 2. Ditto for --with-zlib 3. $no_libnsl and $no_libsocket can be determined programmatically 4. Check for innetgr, getspnam, and util in the default $LIBS before checking in -lrpc, -lgen, and -lutil, respectively 5. dirname() is in -lgen on some systems (Solaris 2.5.1, IRIX) -- albert chin (china at thewrittenword.com) -- snip snip --- configure.in.orig Thu Sep 27 01:16:56 2001 +++ configure.in Thu S...
2007 Sep 20
0
OpenSSH 4.7p1 - support the use of netgroups in AllowUsers and DenyUsers configuration options
...of users/hosts. * administration effort for large installations is reduced * maintaining a consistent setup across a large set of systems is much easier. * systems without PAM support (that cannot use e.g. pam_list or pam_access) can now use netgroup based access restrictions. * the patch uses innetgr(3c) so netgroups can be stored in NIS, NIS+ or LDAP, or any other directory service that is plugged into nsswitch and that has a netgroup back end. The changes were developed by Albert Fluegel af at muc.de and he has given me permission to submit them to OpenSSH. I have ported them to the current...
2001 Jun 07
0
Patch for systems with no setreuid()
...ure Thu Jun 7 14:13:40 2001 @@ -3184,7 +3184,7 @@ fi -for ac_func in arc4random atexit b64_ntop bcopy bindresvport_sa clock fchown fchmod freeaddrinfo futimes gai_strerror getcwd getaddrinfo getgrouplist getnameinfo getrlimit getrusage getttyent getusershell glob inet_aton inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove mkdtemp on_exit openpty realpath rresvport_af setdtablesize setenv setegid seteuid setlogin setproctitle setresgid setreuid setrlimit setsid sigaction sigvec snprintf strerror strlcat strlcpy strmode strsep strtok_r sysconf tcgetpgrp utimes vsnprintf vhangup vis w...
1999 Dec 20
2
Portability hacks + alpha HPUX1020 port
...k forward to your bitter criticism, or even some constructive feedback... Ta, -Andre Lucas Instinet Global Services Changes (mostly HPSUX workarounds :-) ) - Ben Taylor's utmpx patch, with a few hacks for HPUX compat - Filled out utmp struct as well for above (HP commands still use utmp...) - innetgr() protos if required - #ifdef blocks for innetgr lib function - *snprintf proto definitions if not present (HP) - utmpx compatibility hacks - search for xauth - check for updwtmpx lib func (HP) - check for ttcompat.h (HP) - check environment for mail directory if no maillock.h - variable for custom...
2000 Dec 27
2
implicit declaration warnings
...encode.c:36: warning: implicit declaration of function `__b64_ntop' uuencode.c: In function `uudecode': uuencode.c:54: warning: implicit declaration of function `__b64_pton' auth-rhosts.c: In function `check_rhosts_file': auth-rhosts.c:110: warning: implicit declaration of function `innetgr' loginrec.c: In function `syslogin_perform_login': loginrec.c:1282: warning: implicit declaration of function `login' loginrec.c: In function `syslogin_perform_logout': loginrec.c:1295: warning: implicit declaration of function `logout' loginrec.c:1299: warning: implicit declara...
2000 Apr 21
0
OpenSSH 1.2.3 on AIX 4.3.3
...security/pam_appl.h sys/bitypes.h sys/bsdtty.h sys/cdefs.h sys/poll.h sys/select.h sys/stropts.h sys/sysmacros.h sys/time.h sys/ttcompat.h stddef.h util.h utmp.h utmpx.h) # Checks for library functions. -AC_CHECK_FUNCS(arc4random bindresvport_af freeaddrinfo gai_strerror getaddrinfo getnameinfo innetgr md5_crypt mkdtemp openpty rresvport_af setenv seteuid setlogin setproctitle setreuid snprintf strlcat strlcpy updwtmpx vsnprintf _getpty) +AC_CHECK_FUNCS(arc4random bindresvport_af freeaddrinfo gai_strerror getaddrinfo getnameinfo innetgr md5_crypt mkdtemp openpty pututline rresvport_af setenv sete...
2001 May 22
1
[PATCH]: configure.in: Missing check for setvbuf
...H(tcp-wrappers, ) dnl Checks for library functions. -AC_CHECK_FUNCS(arc4random atexit b64_ntop bcopy bindresvport_sa clock fchown fchmod freeaddrinfo futimes gai_strerror getcwd getaddrinfo getgrouplist getnameinfo getrlimit getrusage getttyent getusershell glob inet_aton inet_ntoa inet_ntop innetgr login_getcapbool md5_crypt memmove mkdtemp on_exit openpty realpath rresvport_af setdtablesize setenv setegid seteuid setlogin setproctitle setresgid setreuid setrlimit setsid sigaction sigvec snprintf strerror strlcat strlcpy strmode strsep strtok_r sysconf tcgetpgrp utimes vsnprintf vhangup vis w...
2002 May 09
1
Bug report: OpenSSH 3.1p1
...same as the server_user name. Line 76 reads: strlcpy(userbuf, server_user, sizeof(userbuf)); I believe it should read: strlcpy(userbuf, client_user, sizeof(userbuf)); Otherwise later in the function this test will fail: /* Verify that user name matches. */ if (user[0] == '@') { if (!innetgr(user + 1, NULL, client_user, NULL)) continue; } else if (strcmp(user, client_user) != 0) continue; /* Different username. */ Please reply directly if necessary; I'm not subscribed to this list. Royce Howland
2003 Nov 26
0
[Security] Valid Users fails
.../26 16:00:01, 5] smbd/service.c:make_connection(862) making a connection to 'normal' service board [2003/11/26 16:00:01, 5] lib/username.c:user_in_netgroup_list(312) looking for user img of domain in netgroup users [2003/11/26 16:00:01, 5] lib/username.c:user_in_netgroup_list(314) innetgr is FALSE [2003/11/26 16:00:01, 5] lib/username.c:user_in_netgroup_list(312) looking for user img of domain in netgroup Dom?nen-Benutzer [2003/11/26 16:00:01, 5] lib/username.c:user_in_netgroup_list(314) innetgr is FALSE [2003/11/26 16:00:01, 2] smbd/service.c:make_connection_snum(384) use...
2003 Feb 01
1
Build errors on AIX 4.2.1: nanosleep
...\ sys/un.h time.h tmpdir.h ttyent.h usersec.h \ util.h utime.h utmp.h utmpx.h) @@ -604,8 +604,8 @@ clock fchmod fchown freeaddrinfo futimes gai_strerror \ getaddrinfo getcwd getgrouplist getnameinfo getopt getpeereid\ getrlimit getrusage getttyent glob inet_aton inet_ntoa \ - inet_ntop innetgr login_getcapbool md5_crypt memmove \ - mkdtemp mmap ngetaddrinfo openpty ogetaddrinfo pstat readpassphrase \ + inet_ntop innetgr login_getcapbool md5_crypt memmove mkdtemp \ + mmap ngetaddrinfo nsleep openpty ogetaddrinfo pstat readpassphrase \ realpath recvmsg rresvport_af sendmsg setdtablesize...
2000 Aug 01
2
[2.1.1p4] utmp patch for SunOS 4.1.x
...ct.h sys/stat.h sys/stropts.h sys/sysmacros.h sys/time.h sys/ttcompat.h stddef.h time.h usersec.h util.h utmp.h utmpx.h) # Checks for library functions. ! AC_CHECK_FUNCS(arc4random atexit b64_ntop bcopy bindresvport_af clock freeaddrinfo gai_strerror getaddrinfo getnameinfo getrusage inet_aton innetgr md5_crypt memmove mkdtemp on_exit openpty rresvport_af setenv seteuid setlogin setproctitle setreuid sigaction sigvec snprintf strerror strlcat strlcpy strsep vsnprintf vhangup _getpty __b64_ntop) dnl checks for time functions AC_CHECK_FUNCS(gettimeofday time) dnl checks for libutil fun...
2000 May 20
3
Portable OpenSSH-2.1.0p2
This is to announce the availability of portable OpenSSH-2.1.0p2. This is a bug-fix release, addressing the following issues: - X authentication works again (thanks to Markus Friedl) - Don't touch utmp if utmpx is in use - Fix SIGCHLD problems on AIX and HPUX (Thanks to Tom Bertelson) - HPUX compile fixes (Thanks to Lutz Jaenicke) - Accept an empty shell in /etc/passwd - SunOS4 compile fixes.
2000 May 20
3
Portable OpenSSH-2.1.0p2
This is to announce the availability of portable OpenSSH-2.1.0p2. This is a bug-fix release, addressing the following issues: - X authentication works again (thanks to Markus Friedl) - Don't touch utmp if utmpx is in use - Fix SIGCHLD problems on AIX and HPUX (Thanks to Tom Bertelson) - HPUX compile fixes (Thanks to Lutz Jaenicke) - Accept an empty shell in /etc/passwd - SunOS4 compile fixes.
2005 Aug 19
3
Samba and netgroups in LDAP
Hello, Has anyone got netgroups working with Samba 3.0.14a where the netgroups are stored in the LDAP directory? I'm using Solaris 9 and SUN's directory server v5.2. What I'm seeing is that samba goes through the motions of looking up a host in a netgroup, but no query is seen by the LDAP server or on the network and the host is never found in the netgroup. Any help would be
2003 Jan 25
1
Build failures: nanosleep on Solaris and AIX 4.2.x
...\ sys/un.h time.h tmpdir.h ttyent.h usersec.h \ util.h utime.h utmp.h utmpx.h) @@ -604,7 +604,7 @@ clock fchmod fchown freeaddrinfo futimes gai_strerror \ getaddrinfo getcwd getgrouplist getnameinfo getopt getpeereid\ getrlimit getrusage getttyent glob inet_aton inet_ntoa \ - inet_ntop innetgr login_getcapbool md5_crypt memmove \ + inet_ntop innetgr login_getcapbool md5_crypt memmove nsleep \ mkdtemp mmap ngetaddrinfo openpty ogetaddrinfo pstat readpassphrase \ realpath recvmsg rresvport_af sendmsg setdtablesize setegid \ setenv seteuid setgroups setlogin setproctitle setresgid set...
2001 May 21
1
2.9p1 patches
...hen - AC_CHECK_LIB(nsl, yp_match, , ) -fi -if test -z "$no_libsocket" ; then - AC_CHECK_LIB(socket, main, , ) -fi +AC_CHECK_FUNC(yp_match, , AC_CHECK_LIB(nsl, yp_match)) +AC_CHECK_FUNC(setsockopt, , AC_CHECK_LIB(socket, setsockopt)) dnl SCO OS3 needs this for libwrap -AC_CHECK_LIB(rpc, innetgr, LIBS="-lrpc -lyp -lrpc $LIBS" , , -lyp -lrpc) +AC_CHECK_FUNC(innetgr, , + AC_CHECK_LIB(rpc, innetgr, LIBS="-lrpc -lyp -lrpc $LIBS" , , -lyp -lrpc)) -AC_CHECK_LIB(gen, getspnam, LIBS="$LIBS -lgen") -AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please i...
2006 Sep 27
2
Samba 3.0.23c panic
...og_stack_trace+0x2d) [0xe288ad] #1 smbd(smb_panic+0x5d) [0xe289dd] #2 smbd [0xe1451a] #3 [0x360420] #4 /lib/libc.so.6(__strdup+0x1f) [0x3e5893] #5 /lib/libnsl.so.1(nis_list+0x5d2) [0x9c8b5f] #6 /lib/libnss_nisplus.so.2(_nss_nisplus_setnetgrent+0x8f) [0x34762e] #7 /lib/libc.so.6(innetgr+0xb2) [0x460d05] #8 smbd(user_in_netgroup+0x65) [0xc5f1e5] #9 smbd(token_contains_name_in_list+0x23d) [0xc61bdd] #10 smbd(change_to_user+0x4d2) [0xca0642] #11 smbd [0xcbfb38] #12 smbd(make_connection+0x194) [0xcc0fa4] #13 smbd(reply_tcon_and_X+0x21d) [0xc848ed] #14 smbd [0xcbc0...
2006 Sep 27
1
samba breaks during user authentication after it was updated
...#4 /lib/libc.so.6(__strdup+0x1f) [0x9f3893] Sep 27 09:42:30 server smbd[16675]: #5 /lib/libnsl.so.1(nis_list+0x5d2) [0xca4b5f] Sep 27 09:42:30 server smbd[16675]: #6 /lib/libnss_nisplus.so.2(_nss_nisplus_setnetgrent+0x8f) [0x45a62e] Sep 27 09:42:30 server smbd[16675]: #7 /lib/libc.so.6(innetgr+0xb2) [0xa6ed05] Sep 27 09:42:30 server smbd[16675]: #8 smbd(user_in_netgroup+0x65) [0x5f81e5] Sep 27 09:42:30 server smbd[16675]: #9 smbd(token_contains_name_in_list+0x23d) [0x5fabdd] Sep 27 09:42:30 server smbd[16675]: #10 smbd(is_share_read_only_for_token+0x98) [0x5faed8] Sep 27 09:...
2001 Feb 13
1
configure.in reorder patch
..."$no_libsocket" ; then + AC_CHECK_LIB(socket, main, + [ + if test "$saved_LIBS" = "$LIBS" ; then + LIBS="$LIBS -lsocket" + else + LIBS="$saved_LIBS -lsocket -lnsl" + fi + ] ) +fi + +dnl SCO OS3 needs this for libwrap +AC_CHECK_LIB(rpc, innetgr, LIBS="-lrpc -lyp -lrpc $LIBS" , , -lyp -lrpc) -AC_CHECK_LIB(gen, getspnam, LIBS="$LIBS -lgen") +AC_CHECK_LIB(gen, getspnam) AC_CHECK_LIB(z, deflate, ,AC_MSG_ERROR([*** zlib missing - please install first ***])) -AC_CHECK_LIB(util, login, AC_DEFINE(HAVE_LIBUTIL_LOGIN) LIBS=&q...