Date: Fri, 21 Apr 1995 11:04:39 -0700 From: Bill Paul <wpaul> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/ypbind ypbind.c Message-ID: <199504211804.LAA14495@freefall.cdrom.com>
next in thread | raw e-mail | index | archive | help
wpaul 95/04/21 11:04:37
Modified: lib/libc/yp yplib.c
usr.bin/ypwhich ypwhich.c
usr.sbin/ypbind ypbind.c
Log:
small NIS binding fixes:
ypbind.c: if a client program asks ypbind for the name of the server
for a particular domain, and there isn't a binding for that domain
available yet, ypbind needs to supply a status value along with its
failure message. Set yprespbody.ypbind_error before returning from
a ypbindproc_domain request.
yplib.c: properly handle the error status messages ypbind now has the
ability to send us. Add a ypbinderr_string() function to decode the
error values.
ypwhich.c: handle ypbind errors correctly: yperr_string() can't handle
ypbind_status messages -- use ypbinderr_string instead.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199504211804.LAA14495>
