Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 10 May 2001 04:00:19 -0700 (PDT)
From:      Thomas Quinot <quinot@inf.enst.fr>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/27230: Users after NIS lines in /etc/passwd
Message-ID:  <200105101100.f4AB0J268435@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/27230; it has been noted by GNATS.

From: Thomas Quinot <quinot@inf.enst.fr>
To: Dima Dorfman <dima@unixfreak.org>
Cc: "Jacques A. Vidrine" <n@nectar.com>, quinot@inf.enst.fr,
	FreeBSD-gnats-submit@freebsd.org
Subject: Re: bin/27230: Users after NIS lines in /etc/passwd
Date: Thu, 10 May 2001 12:58:23 +0200

 Le 2001-05-10, Dima Dorfman écrivait :
 
 > > No, NS_UNAVAIL _should_ short-circuit like  this.  I'll look for a bug
 > > in __getpwcompat that returns NS_UNAVAIL inappropriately. 
 > In this case, it gets returned here:
 > 
 >         if(__ypdomain == NULL) {
 >                 if(_yp_check(&__ypdomain) == 0)
 >                         return NS_UNAVAIL;
 >         }
 > 
 > line 512, rev. 1.59 of getpwent.c.
 
 As I understand it, your patch and/or changing the returned value would
 resolve the faulty 'no such user' error, but not the 75-second hang
 that is experienced when rpcbind is not running.
 
 -- 
 Thomas Quinot ** Département Informatique & Réseaux ** quinot@inf.enst.fr
               ENST   //   46 rue Barrault   //   75634 PARIS CEDEX 13 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105101100.f4AB0J268435>