mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
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.
This commit is contained in:
parent
5e01c01abd
commit
a905106075
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=167128
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user