summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMats O Jansson <maja@cvs.openbsd.org>2002-02-17 19:38:53 +0000
committerMats O Jansson <maja@cvs.openbsd.org>2002-02-17 19:38:53 +0000
commit1b433a7e5b43fe0dec72e100525e31299629c117 (patch)
treef511f0fdd1f6a68cf600db3924962a2115fd7b24
parent46ad88291a0772bfed355310218680b06bc05a9a (diff)
Document that both localhost and the local hostname needs to be able to
access ypserv. RPC calls can be sent to ypserv on both. In PR2403 access was allowed from localhost but not the local hostname. This caused yppush not to be able to notify ypserv about changed maps. -moj
-rw-r--r--usr.sbin/ypserv/ypserv/ypserv.acl.58
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.sbin/ypserv/ypserv/ypserv.acl.5 b/usr.sbin/ypserv/ypserv/ypserv.acl.5
index 4fe98f5bde0..6cca09f8f1f 100644
--- a/usr.sbin/ypserv/ypserv/ypserv.acl.5
+++ b/usr.sbin/ypserv/ypserv/ypserv.acl.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: ypserv.acl.5,v 1.12 2001/08/02 18:37:35 mpech Exp $
+.\" $OpenBSD: ypserv.acl.5,v 1.13 2002/02/17 19:38:52 maja Exp $
.\"
.\" Copyright (c) 1994 Mats O Jansson <moj@stacken.kth.se>
.\" All rights reserved.
@@ -75,9 +75,10 @@ If access is denied every call will cause a
.Nm no such domain
error for the caller.
.Pp
-Don't forget to allow localhost access if you want the machine running
+Normally both the local hostname and localhost must be
+allowed access. Otherwise
.Nm ypserv
-to be able to access it too.
+might not work correctly
.Pp
There is no default name for this file.
Start
@@ -139,6 +140,7 @@ A configuration file might look like the following:
# multiple ip-addresses all will be added (I hope). ip-address
# processed by inet_aton.
allow host localhost
+allow host myypserver
deny host jodie
###########################################################################