summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2007-02-28 22:49:12 +0000
committerjmallett <jmallett@FreeBSD.org>2007-02-28 22:49:12 +0000
commit9de761769b2707aefa65271b5911b946f741e6c2 (patch)
treef4ad196fa12126f6d547c7fb95a838eb3fef5f94
parent907049db844ff190eae0434c4c8406111c6d3d23 (diff)
downloadFreeBSD-src-9de761769b2707aefa65271b5911b946f741e6c2.zip
FreeBSD-src-9de761769b2707aefa65271b5911b946f741e6c2.tar.gz
Increase helpfulness in diagnostic message - ypbind running without -ypset or
-ypsetme will prevent use of ypset. Remind the user to check that it was started correctly.
-rw-r--r--usr.sbin/ypset/ypset.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ypset/ypset.c b/usr.sbin/ypset/ypset.c
index 019c724..b63578a 100644
--- a/usr.sbin/ypset/ypset.c
+++ b/usr.sbin/ypset/ypset.c
@@ -101,7 +101,7 @@ bind_tohost(struct sockaddr_in *sin, char *dom, char *server)
(xdrproc_t)xdr_ypbind_setdom, &ypsd,
(xdrproc_t)xdr_void, NULL, tv);
if (r) {
- warnx("sorry, cannot ypset for domain %s on host", dom);
+ warnx("sorry, cannot ypset for domain %s on host - make sure ypbind was started with -ypset or -ypsetme", dom);
clnt_destroy(client);
return (YPERR_YPBIND);
}
OpenPOWER on IntegriCloud