From owner-freebsd-questions Sat Apr 13 19:28:31 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 61B5A37B405 for ; Sat, 13 Apr 2002 19:28:29 -0700 (PDT) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.12.2/8.12.2) with ESMTP id g3E2SSGS056948; Sat, 13 Apr 2002 21:28:28 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.12.2/8.12.2/Submit) id g3E2SSZf056944; Sat, 13 Apr 2002 21:28:28 -0500 (CDT) Date: Sat, 13 Apr 2002 21:28:28 -0500 From: Dan Nelson To: dave Cc: freebsd-questions@FreeBSD.org Subject: Re: FreeBSD NIS serving linux clients. Message-ID: <20020414022828.GC99234@dan.emsphone.com> References: <002301c1e333$e2cdf430$0200a8c0@satellite> <3CB8CF8E.E2C046AA@mindspring.com> <000e01c1e34c$c8784770$0200a8c0@satellite> <20020414015300.GB99234@dan.emsphone.com> <001f01c1e358$0cf87040$0200a8c0@satellite> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <001f01c1e358$0cf87040$0200a8c0@satellite> User-Agent: Mutt/1.3.28i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error 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 In the last episode (Apr 13), dave said: > > In the last episode (Apr 13), dave said: > > > As far as i know fbsd is exporting md5 passwords. The rh box > > > is set up to do md5, as well. > > > > Does "id nisuser" or "finger nisuser" work? > > > > Do you have "passwd: files nis" /etc/nsswitch.conf, or "passwd: > > compat" plus a "+::0:0:::" record in /etc/passwd? > > id user and finger user both work from all boxes. On the rh box > i've got nis set up in nsswitch.conf and on the fbsd box's > master.passwd file i have +::::::::: and group +:*:0: You don't need + records on the server, just the client. And you only need them on the client if you want to do neat things, like override shells or use netgroups. For the simple "always check and trust NIS", setting "passwd: files nis" is enough. If id works, then the client is getting the user record from the server just fine. Try the blank-password test next. If that works, see if a DES password works. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message