Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 26 Jul 1996 13:24:31 -0500
From:      "Daniel M. Eischen" <deischen@iworks.InterWorks.org>
To:        bennett@centerline.com, questions@freebsd.org
Subject:   Re: How to setup NIS?
Message-ID:  <9607261824.AA17456@iworks.InterWorks.org>

next in thread | raw e-mail | index | archive | help

> I am having some trouble setting up NIS on a FreeBSD 2.1.0 system.
> I cannot find any documentation on how to setup up NIS.  I looked in
> the FAQ and the handbook. 
> 
> This is what I have done:
>
> 1. I set nis_clientflags to the following in my /etc/sysconfig file:
> 
>    nis_clientflags="-s"
>
> 2. Using vipw, I added the following to the bottom of the master.passwd file:
>
>    +:::::::::
>
> 3. I rebooted the machine and verified that the ypbind process
>    was running.
>
> Everything seems to work, except nobody can log into the machine.  It
> doesn't recognize their account in the NIS database.  Using ypcat, I
> can display the NIS password file (ypcat passwd) and all of the other
> maps.  I can even switch to someone's account using su, if I'm logged
> in as root.  Also, finger recognizes everyone in our NIS database.  It
> just doesn't work when someone tries to login.  The login process
> doesn't seem to consult the NIS password file.
>
> Is there something else I need to do to get this to work?  Any help would
> be greatly appreciated.

Have you installed the DES libraries?

bash$ ls -l /usr/lib/libcry*
lrwxr-xr-x  1 bin  bin  13 Jun 21 15:41 /usr/lib/libcrypt.a -> libdescrypt.a
lrwxr-xr-x  1 bin  bin  18 Jun 21 15:41 /usr/lib/libcrypt.so.2.0 -> libdescrypt.so.2.0

Dan Eischen
deischen@iworks.InterWorks.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9607261824.AA17456>