]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Add support for handling the YP_SECURE and YP_INTERDOMAIN keys from
authorBill Paul <wpaul@FreeBSD.org>
Thu, 24 Oct 1996 18:58:26 +0000 (18:58 +0000)
committerBill Paul <wpaul@FreeBSD.org>
Thu, 24 Oct 1996 18:58:26 +0000 (18:58 +0000)
commit4451976029159d285d7682f0740d07cb10cb94c1
treec9e13718f5c1a63d264eb0f15a2cc75b914c103b
parentebebb88b8df8b031516c4ef060d152e19da56f17
Add support for handling the YP_SECURE and YP_INTERDOMAIN keys from
any maps that may have them. If the YP_SECURE key is present, ypserv
will only allow access to the map from clients on reserved ports.
If the YP_INTERDOMAIN key is present, the server will do DNS lookups
for hostnames that it can't find in hosts.byname or hosts.byaddr.
This is the same as the -d flag (which is retained for backwards
compatibility) but it can be set on a per-map/per-domain basis.

Also modified /var/yp/Makefile to add YP_INTERDOMAIN to the hosts.*
maps and YP_SECURE to master.passwd.* maps by default.
usr.sbin/ypserv/Makefile.yp
usr.sbin/ypserv/yp_access.c
usr.sbin/ypserv/yp_dblookup.c
usr.sbin/ypserv/yp_extern.h
usr.sbin/ypserv/yp_server.c