diff options
author | wpaul <wpaul@FreeBSD.org> | 1996-10-24 18:58:26 +0000 |
---|---|---|
committer | wpaul <wpaul@FreeBSD.org> | 1996-10-24 18:58:26 +0000 |
commit | 23c458cf11df43eaa7b95dba34d24f4c492c1556 (patch) | |
tree | c9e13718f5c1a63d264eb0f15a2cc75b914c103b /usr.sbin/ypserv/Makefile.yp | |
parent | 60458c7a5c579d18cfcea70a2ad227276cc23f75 (diff) | |
download | FreeBSD-src-23c458cf11df43eaa7b95dba34d24f4c492c1556.zip FreeBSD-src-23c458cf11df43eaa7b95dba34d24f4c492c1556.tar.gz |
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.
Diffstat (limited to 'usr.sbin/ypserv/Makefile.yp')
-rw-r--r-- | usr.sbin/ypserv/Makefile.yp | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/usr.sbin/ypserv/Makefile.yp b/usr.sbin/ypserv/Makefile.yp index a540cbd..3a73531 100644 --- a/usr.sbin/ypserv/Makefile.yp +++ b/usr.sbin/ypserv/Makefile.yp @@ -1,7 +1,7 @@ # # Makefile for the NIS databases # -# $Id: Makefile.yp,v 1.11 1996/07/25 19:32:37 peter Exp $ +# $Id: Makefile.yp,v 1.12 1996/08/09 17:55:18 adam Exp $ # # This Makefile should only be run on the NIS master server of a domain. # All updated maps will be pushed to all NIS slave servers listed in the @@ -29,6 +29,17 @@ NOPUSH = "True" # #UNSECURE = "True" +# The following line encodes the YP_INTERDOMAIN key into the hosts.byname +# and hosts.byaddr maps so that ypserv(8) will do DNS lookups to resolve +# hosts not in the current domain. Commenting this line out will disable +# the DNS lookups. +B=-b + +# Normally, the master.passwd.* maps are guarded against access from +# non-privileged users. By commenting out the following line, the YP_SECURE +# key will be removed from these maps, allowing anyone to access them. +S=-s + # These are commands which this Makefile needs to properly rebuild the # NIS databases. Don't change these unless you have a good reason. Also # be sure not to place an @ in front of /usr/bin/awk: it isn't necessary |