From owner-freebsd-isp Fri Oct 13 4:13: 6 2000 Delivered-To: freebsd-isp@freebsd.org Received: from mail.camelot.de (mailout.camelot.de [195.30.224.18]) by hub.freebsd.org (Postfix) with ESMTP id 96CEF37B503; Fri, 13 Oct 2000 04:13:01 -0700 (PDT) Received: from robin.camelot.de (bofax@robin.camelot.de [195.30.224.3]) by mail.camelot.de (8.11.1/8.11.1) with ESMTP id e9DBCts73155 (using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified OK); Fri, 13 Oct 2000 13:12:56 +0200 (CEST) Received: (from bofax@localhost) by robin.camelot.de (8.11.1/8.11.1) id e9DBCtT73152; Fri, 13 Oct 2000 13:12:55 +0200 (CEST) Date: Fri, 13 Oct 2000 12:59:47 +0200 From: Florian Bofinger To: freebsd-questions@camelot.de, freebsd-isp@camelot.de Subject: NIS/YP getpwnam timeout in 3.5-RELEASE? Message-ID: <20001013125947.C15981@camelot.de> Mail-Followup-To: Florian Bofinger , freebsd-questions@camelot.de, freebsd-isp@camelot.de Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi, since a few days, our NIS shows strange behaviour. When calling getpwnam on a NIS client for a valid, existing, plussed loginname (+user:::::::::), getpwnam->pw_passwd sometimes returns the crypted password (which is the right behaviour) but sometimes returns '*'. Is it possible, that the ypmatch-call in getpwent.c does a timeout? Does if (_yp_enabled == -1) _ypinitdb(); if (_yp_enabled) rval = _getyppass(&_pw_passwd, name, "passwd.byname"); show, that if _ypinitdb() does not work, YP is not used at all? How can it be, that getpwnam->pw_passwd returns "*" instead of getpwnam beeing NULL? Anyone any suggestions? Greetings, Florian -- Florian Bofinger - CameloT e.K. www.camelot.de - Der "sagenhafte" Internet Full-Service Provider 'Can't buy what I want because it's free' - Pearl Jam (FreeBSD rocks) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message