1 This allows you to use the samba style @netgroup names in hosts allow
4 This patch still needs autoconf support for portability.
6 To use this patch, run these commands for a successful build:
8 patch -p1 <patches/netgroup-auth.diff
9 ./configure (optional if already run)
12 based-on: 63f91976112b8b2118cc17eb5fc8142175566f4f
13 diff --git a/access.c b/access.c
22 static int allow_forward_dns;
24 @@ -33,6 +34,9 @@ static int match_hostname(const char **host_ptr, const char *addr, const char *t
28 + if (*tok == '@' && tok[1])
29 + return innetgr(tok + 1, host, NULL, NULL);
31 /* First check if the reverse-DNS-determined hostname matches. */
32 if (iwildmatch(tok, host))