#
2943bd1c |
| 21-Mar-1995 |
Bill Paul <wpaul@FreeBSD.org> |
Reviewed by: Bill Paul <wpaul@freebsd.org> Submitted by: Sebastian Strollo <seb@erix.ericsson.se>
- In /usr/src/lib/libc/yp/yplib.c, function yp_first when clnt_call fails with (r != RPC_SUCCESS) ys
Reviewed by: Bill Paul <wpaul@freebsd.org> Submitted by: Sebastian Strollo <seb@erix.ericsson.se>
- In /usr/src/lib/libc/yp/yplib.c, function yp_first when clnt_call fails with (r != RPC_SUCCESS) ysd->dom_vers should be set to 0! This ensures that /var/yp/bindings/dom.vers will be read again on retry. What happens now is that when our server is down and someone tries to use yp they will continue to try until kingdom come. So: if(r != RPC_SUCCESS) { clnt_perror(ysd->dom_client, "yp_first: clnt_call"); ysd->dom_vers = -1; ^^^^ change to 0 goto again; }
show more ...
|
#
4415cd19 |
| 08-Aug-1994 |
Garrett Wollman <wollman@FreeBSD.org> |
Add back in the YP code from 1.1.5. (This attribution brought to you by Theo de Raadt.) Added a new make flag variable, NO_YP_LIBC, which disables YP entirely. User-land programs to come later.
|