diff options
| author | Bill Paul <wpaul@FreeBSD.org> | 1997-10-11 00:03:25 +0000 |
|---|---|---|
| committer | Bill Paul <wpaul@FreeBSD.org> | 1997-10-11 00:03:25 +0000 |
| commit | c17942ca57ed3d5050b7674d696b098307c77b86 (patch) | |
| tree | eb3b7db664b9f674de1af2f0fce3ba8599baac62 /lib/libc/gen/getnetgrent.c | |
| parent | 8c85509d0aab133fa1c06ad81d9eaf592ff30628 (diff) | |
Notes
Diffstat (limited to 'lib/libc/gen/getnetgrent.c')
| -rw-r--r-- | lib/libc/gen/getnetgrent.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/lib/libc/gen/getnetgrent.c b/lib/libc/gen/getnetgrent.c index 662958aebc04..ba4c1470f8bf 100644 --- a/lib/libc/gen/getnetgrent.c +++ b/lib/libc/gen/getnetgrent.c @@ -82,6 +82,13 @@ static char sccsid[] = "@(#)getnetgrent.c 8.2 (Berkeley) 4/27/95"; * netgroup entries, we use just those local entries and ignore * NIS (this is the original, pre-NIS behavior). */ +/* + * NIS+ servers in YP emulation mode suport only the netgroup map + * (they have no netgroup.byhost and netgroup.byuser 'reverse' maps) + * so we need this for compatibility. + */ +#define CHARITABLE + #include <rpc/rpc.h> #include <rpcsvc/yp_prot.h> #include <rpcsvc/ypclnt.h> |
