From owner-freebsd-questions Thu Mar 5 05:56:50 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA16611 for freebsd-questions-outgoing; Thu, 5 Mar 1998 05:56:50 -0800 (PST) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from postoffice.onu.edu (postoffice.onu.edu [140.228.10.2]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id FAA16606 for ; Thu, 5 Mar 1998 05:56:47 -0800 (PST) (envelope-from r-beer@onu.edu) Received: from [140.228.15.35] (asterion.onu.edu [140.228.15.35]) by postoffice.onu.edu (8.8.5/8.8.5) with ESMTP id IAA29030; Thu, 5 Mar 1998 08:56:24 -0500 (EST) Message-Id: In-Reply-To: References: <87sooxkfwt.fsf@phaedrus.uchicago.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Date: Thu, 5 Mar 1998 08:56:22 -0500 To: Atipa , stephen farrell From: Robert Beer Subject: Re: NIS will not authenticate / login Cc: freebsd-questions@FreeBSD.ORG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG At 10:01 PM -0500 3/4/98, Atipa wrote: >I am sure that will do it! Thanks! >(I did not see this info in the "yp" man page... hmmm...) Additionally, you may need to check how your passwords are encrypted in /etc/master.passwd. If the server is using DES and the client is using MD5 things will not work. You can check these links: /usr/lib/libcrypt.a -> libdescrypt.a /usr/lib/libcrypt.so.2.0 -> libdescrypt.so.2.0 /usr/lib/libcrypt_p.a -> libdescrypt_p.a >On 4 Mar 1998, stephen farrell wrote: > >> Atipa writes: >> >> > I am using 2.2.2-RELEASE (BTW - man page is out of date; it refers to >> > /etc/sysconfig instead of /etc/rc.conf). >> >> 2.2.2-RELEASE is rather out-of-date at this point. >> >> > I set up yp/nis, and everything appears to work fine (rpc.passwdd, >> > ypserv, ypcat, ypchsh, ypwhich, etc.). I can make my user lists and >>verify >> > them locally and remotely using ypcat. >> > >> > I can also change passwords and finger information w/ ypchsh and >> > yppasswd (and /usr/bin/passwd for NIS-only logins). No problems at all. >> > >> > However, whenever I try to login (telnet, ftp, or console) w/ an NIS >> > identity, I get the normal "login incorrect" message. Yes, I am typing >> > the correct password :) >> > >> > Do you need a different version of /usr/libexec/login for NIS? I would >> > think authentication would be built into getpwent(), but I could be >>wrong. >> >> Did you add the appropriate entries to /etc/passwd and /etc/group? >> For more information, see man 5 passwd, in particular the section >> entitled "YP/NIS INTERACTION". >> >> -- >> >> Steve Farrell >> >> > >To Unsubscribe: send mail to majordomo@FreeBSD.org >with "unsubscribe freebsd-questions" in the body of the message --- Bob Beer Ohio Northern University, Academic Computer Services, Ada, OH 45810 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message