NetBSD/usr.sbin/ypserv
lukem 7cb9d0d79c database routines:
- rename OPTDB to OPTIMIZE_DB
- if OPTIMIZE_DB, in ypdb_open(), close a database if the open failed
  with ENFILE or EMFILE [from openbsd].
- because of the above, don't bother checking first if any FDs are
  available (with open("/", RDONLY) - it's a superfluous check.
- ensure that *map_info is set if a database was a cached open -
  without this fix OPTIMIZE_DB didn't work too well...
- enable OPTIMIZE_DB by default - should speed up lookups

secure map support:
- add ypdb_secure(), which returns non-zero if the map has the YP_SECURE
  private key set (which makedbm(8) -s adds) [from openbsd]
- modify various functions to check if a map is secure, and if so,
  refuse to serve information to clients not requesting from an
  IPPORT_RESERVED port [from openbsd]
- ensure that domainnames and map names are valid (don't contain
  "/"'s, aren't too long, etc) [idea from openbsd, but using our
  _yp_invalid_domain() et al, which does more checking.]

misc:
- add rcsid's
- implement _yp_invalid_map() (complements _yp_invalid_domain() in
  libc - eventually _yp_invalid_map() may move to libc...)
- use %#x instead of 0x%x in debug log messages
1997-10-15 05:01:07 +00:00
..
common - hack ypdb_open() to try the standard hash (for sendmail's aliases.db) 1997-10-13 03:42:27 +00:00
makedbm - ignore trailing NUL in database key/value pairs (which sendmail's 1997-10-13 03:47:07 +00:00
mkalias s/LINT/lint 1997-10-13 03:48:49 +00:00
mknetid add rcsid 1997-10-13 03:51:58 +00:00
revnetgroup
stdethers don't use home-grown ether_ntoa() - ether_toa(3) in libc works fine... 1997-10-13 07:41:48 +00:00
stdhosts add rcsid 1997-10-13 03:15:30 +00:00
ypinit - major cleanup of Makefile.yp to use modern make(1) variables, and 1997-10-15 03:01:57 +00:00
yppush add rcsid 1997-10-13 07:38:09 +00:00
ypserv database routines: 1997-10-15 05:01:07 +00:00
yptest add rcsid 1997-10-13 07:44:01 +00:00
ypxfr add rcsid 1997-10-13 03:15:30 +00:00
Makefile add mkalias & revnetgroup 1997-10-06 06:55:50 +00:00
Makefile.inc