2 ===================================================================
3 RCS file: /cvsroot/shadow/configure.in,v
4 retrieving revision 1.150
5 diff -u -p -r1.150 configure.in
6 --- configure.in 3 Aug 2006 10:14:05 -0000 1.150
7 +++ configure.in 5 Aug 2006 19:21:51 -0000
8 @@ -32,11 +32,11 @@ AC_HEADER_SYS_WAIT
9 AC_CHECK_HEADERS(errno.h fcntl.h limits.h unistd.h sys/time.h utmp.h \
10 utmpx.h termios.h termio.h sgtty.h sys/ioctl.h syslog.h paths.h \
11 utime.h ulimit.h sys/resource.h gshadow.h shadow.h lastlog.h \
12 - locale.h rpc/key_prot.h)
13 + locale.h rpc/key_prot.h netdb.h)
15 AC_CHECK_FUNCS(a64l fchmod fchown fsync getgroups gethostname getspnam \
16 gettimeofday getusershell getutent initgroups lchown lckpwdf lstat \
17 - memcpy memset setgroups sigaction strchr updwtmp updwtmpx)
18 + memcpy memset setgroups sigaction strchr updwtmp updwtmpx innetgr)
21 dnl Checks for typedefs, structures, and compiler characteristics.
22 Index: src/login_nopam.c
23 ===================================================================
24 RCS file: /cvsroot/shadow/src/login_nopam.c,v
25 retrieving revision 1.8
26 diff -u -p -r1.8 login_nopam.c
27 --- src/login_nopam.c 7 Sep 2005 15:00:45 -0000 1.8
28 +++ src/login_nopam.c 5 Aug 2006 19:21:51 -0000
37 #ifdef PRIMARY_GROUP_MATCH
40 #include <sys/socket.h>
41 #include <netinet/in.h>
42 #include <arpa/inet.h> /* for inet_ntoa() */
43 -extern struct group *getgrnam ();
44 -extern int innetgr ();
46 #if !defined(MAXHOSTNAMELEN) || (MAXHOSTNAMELEN < 64)
48 @@ -182,6 +182,7 @@ static char *myhostname (void)
50 netgroup_match (const char *group, const char *machine, const char *user)
53 static char *mydomain = 0;
56 @@ -192,6 +193,9 @@ netgroup_match (const char *group, const
59 return innetgr (group, machine, user, mydomain);
65 /* user_match - match a username against one token */