From owner-freebsd-questions Tue Jun 17 10:03:06 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id KAA23095 for questions-outgoing; Tue, 17 Jun 1997 10:03:06 -0700 (PDT) Received: from gate.imcl.com (root@gate-isdn.imcl.com [194.152.68.217]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id KAA23081 for ; Tue, 17 Jun 1997 10:02:49 -0700 (PDT) Received: from paris(really [192.168.100.14]) by gate.imcl.com via rsmtp with smtp id for ; Tue, 17 Jun 97 18:02:28 +0100 (BST) (/\##/\ Smail3.1.30.13 #30.13 built 31-aug-95) Message-ID: <33A6C5DC.9963983@imcl.com> Date: Tue, 17 Jun 1997 18:14:04 +0100 From: Richard Jones Organization: ABLE INmEDIA X-Mailer: Mozilla 3.01Gold (X11; I; Linux 2.0.25 i586) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: Re: NIS from a Linux server References: Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Sender: owner-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk Guy Helmer wrote: > > On Tue, 17 Jun 1997, Richard Jones wrote: > > > annexia Linux 2.0.25 (RedHat 4.0) > > virgil FreeBSD 2.2.1-release > > > > Oh dear! More problems with accessing a Linux server from > > FreeBSD. > > > > I managed to configure the FreeBSD box as a NIS client by > > editing /etc/sysconfig. I also added '+' to the end of > > /etc/passwd, /etc/master.passwd and /etc/group. After rebooting, > > I can see the NIS password maps using "ypcat passwd", ie: > > OK, but did you add the + line to the end of /etc/master.passwd via > vipw(8)? If not, the line probably hasn't been added to the /etc/pwd.db > and /etc/spwd.db databases, which is what the login and other commands use > to lookup password entries. No. Because when I used "vipw" to edit the password file, it would give the error: vipw: rebuilding the database ... pwd_mkdb: corrupted entry pwd_mkdb: at line #13 Line 13, needless to say, is the "+". I also tried adding a line +::::::::: (9 ':'s) but that gave the same error. Rich. -- Richard Jones rjones@imcl.com Tel: +44 171 460 4460 Fax: .. 4461 ABLE INmEDIA Ltd. 262a Fulham Rd. London SW10 9EL. "you'll write in PGP: www.four11.com telegraphic, or you won't write at all" [Céline]