diff options
author | wpaul <wpaul@FreeBSD.org> | 1997-10-13 17:09:15 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1997-10-13 17:09:15 +0000 |
commit | 36e2a3d8e91590900201d68269018446008eb684 (patch) | |
tree | 18dc5014378023398c9f1cb868c7fa642348000b /include/ttyent.h | |
parent | b5347d93d3a62f4bb83daf6588efc9f0f2e1e644 (diff) | |
download | FreeBSD-src-36e2a3d8e91590900201d68269018446008eb684.zip FreeBSD-src-36e2a3d8e91590900201d68269018446008eb684.tar.gz |
Improve the innetgr() NIS+ compat kludge. We should only fail over to the
'slow' lookup if we get a YPERR_MAP (no such map in server's domain) error
instead of failing over on any error. In the latter case, if the 'fast'
search fails legitimately (i.e. the user or host really isn't a member
of the specified netgroup) then we end up doing the 'slow' search and
failing all over again. The result is still correct, but cycles are
consumed for no good reason.
Also removed the #ifdef CHARITABLE since the compat kludge is no longer
optional.
Diffstat (limited to 'include/ttyent.h')
0 files changed, 0 insertions, 0 deletions