From owner-cvs-usrsbin Fri Apr 21 11:04:42 1995 Return-Path: cvs-usrsbin-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA14505 for cvs-usrsbin-outgoing; Fri, 21 Apr 1995 11:04:42 -0700 Received: (from wpaul@localhost) by freefall.cdrom.com (8.6.10/8.6.6) id LAA14495 ; Fri, 21 Apr 1995 11:04:39 -0700 Date: Fri, 21 Apr 1995 11:04:39 -0700 From: Bill Paul Message-Id: <199504211804.LAA14495@freefall.cdrom.com> To: CVS-commiters, cvs-usrsbin Subject: cvs commit: src/usr.sbin/ypbind ypbind.c Sender: cvs-usrsbin-owner@freebsd.org Precedence: bulk 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.