freebsd-skq/lib
Bill Paul f067dfeabc Fix behavior of YP library routines in environments with multiple domains,
where one or more of the non-default domains are not yet bound.

If we make a YP request for a domain other than the default domain,
and there is no binding for the new domain yet, _yp_dobind() sees
that the /var/yp/binding/DOMAIN.VERS file for the unbound domain is
not locked (by ypbind) and from this it concludes that the NIS system
is dead, so it gives up.

This behavior has been changed: before giving up in this case, we now
make a second check to see if the binding file for the *default* domain
is also not locked. Only if the default domain binding file is also
unlocked to we now assume that ypbind has bought the farm and bail out.
(Note: this assumes that the user hasn't changed the default domain
while ypbind is running.)

With this change, _do_ypbind() is allowed to proceed into the next
section of code wherein it prods ypbind into establishing a binding
for the new domain. This first call times out after ten seconds,
after which it should retry and succeed. From then on, the binding
for the second domain should be handled normally.
1995-04-09 19:26:23 +00:00
..
csu/i386 Install the dlopen.3 manpage. 1995-03-30 06:40:31 +00:00
libc Fix behavior of YP library routines in environments with multiple domains, 1995-04-09 19:26:23 +00:00
libcom_err Don't call _doprnt, which doesn't exist; use vfprintf. 1995-01-23 22:53:12 +00:00
libcompat add a couple of missing #include lines 1995-03-19 07:00:52 +00:00
libcrypt
libcurses Use __tty_fileno instead of STDERR_FILENO when detecting window size 1995-03-28 22:20:19 +00:00
libedit
libf2c
libF77
libforms Tweak a few things just to show how form traversal might work fully. 1995-03-28 10:42:09 +00:00
libI77
libkvm Comment out declaration of kvm_uread until it can be fixed correctly. 1995-03-20 16:35:11 +00:00
libm
libmd Clean a bunch of -Wall warnings. 1995-02-24 08:51:34 +00:00
libmytinfo Remove duplicates: parm rindex & scroll right 1995-03-27 05:13:31 +00:00
libncurses Fix bug using CSR for partial scrolling 1995-03-27 01:19:14 +00:00
libpam/modules In the non-PARANOID case, make sure to set `notickets' to 0 sothat login.c 1995-01-20 23:07:10 +00:00
libpcap Fix typo: pcap.h.h 1995-02-23 18:47:06 +00:00
libresolv
librpc
librpcsvc If we are going to set the OBJS target, don't add to the old target. This 1995-03-04 17:39:24 +00:00
libscsi Clean up handling of unspecified names. Clarify man page. 1995-01-26 23:48:41 +00:00
libskey Change strtok() to strsep(), strtok() usage is depricated 1995-03-24 17:27:22 +00:00
libss Remove private mkdir for /usr/include/ss, no handled by mtree. 1995-03-18 08:34:42 +00:00
libtelnet
libterm
libtermcap Continue of previous fix: eliminate backslashes too. 1995-03-26 00:47:02 +00:00
libutil Fix suspended vipw hangs 1995-03-09 21:53:12 +00:00
liby
msun Submitted by: J.T. Conklin <jtc@wimsey.com> 1995-04-07 23:23:27 +00:00
ncurses/ncurses Add missing lib_window.c to SRCS 1995-02-13 17:23:18 +00:00
rpcsvc
Makefile msun becomes the default -lm the right way now. 1995-03-21 02:52:05 +00:00
Makefile.inc