From owner-freebsd-questions Tue Oct 16 12:53:25 2001 Delivered-To: freebsd-questions@freebsd.org Received: from taku.hut.fi (taku.hut.fi [130.233.228.87]) by hub.freebsd.org (Postfix) with ESMTP id 4DE9B37B40D for ; Tue, 16 Oct 2001 12:53:21 -0700 (PDT) Received: from vipunen.hut.fi (vipunen.hut.fi [130.233.228.20]) by taku.hut.fi (8.9.3/8.9.3) with ESMTP id WAA08197 for ; Tue, 16 Oct 2001 22:53:17 +0300 (EET DST) Received: (from efagerho@localhost) by vipunen.hut.fi (8.9.1a/8.9.1) id WAA116264 for freebsd-questions@freebsd.org; Tue, 16 Oct 2001 22:53:16 +0300 Date: Tue, 16 Oct 2001 22:53:15 +0300 From: Edvard Fagerholm To: freebsd-questions@freebsd.org Subject: rpc.yppasswdd problems... Message-ID: <20011016225315.A109210@vipunen.hut.fi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hello! I've got this strange problem (I'm running the following commands on the NIS master): passwd -y -d domain.dom user Changing NIS password for user on localhost in domain domain.dom. New password: ***** Retype new password: ***** passwd: failed to change NIS password: RPC: Success And I get this small and obscure error into my logs: Oct 17 03:51:34 shadow rpc.yppasswdd[26628]: database access error: YP unknown error -1 I'm going to make a ktrace of this in case no one figures out a solution (ktrace hasn't been compiled to the current kernel). This seems to have something to do with a broken master.passwd.byname (it returns "database access error" after calling yp_get_record(domain,"master.passwd.byname")), but updating my NIS maps doesn't fail, so I don't think they are broken there shouldn't be any problems with permissions... The funny thing is that everything worked fine until one more slave server was added to the NIS domain. Nothing else has been changed except that one line was added to ypservers. Actually NIS stopped working the night this was done, so this could be related to adding the server or not. The domain uses blowfish passwords, and all the clients are either FreeBSD or OpenBSD based. Any help, clues etc are appreciated... p.s. please cc me, I'm not subscribing... Thanks Edvard Fagerholm To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message