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 diff --git a/access.c b/access.c
21 static int match_hostname(char *host, char *tok)
25 + if (*tok == '@' && tok[1])
26 + return innetgr(tok + 1, host, NULL, NULL);
27 return wildmatch(tok, host);