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
@ -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