Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 2003 11:49:27 -0500
From:      Mike Galvez <mrg8n@virginia.edu>
To:        "W. J. Williams" <will@willardjwilliams.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: NIS not working
Message-ID:  <20030312164927.GC25308@mail.virginia.edu>
In-Reply-To: <20030312104253.48785.qmail@web13509.mail.yahoo.com>
References:  <20030312001934.W5026@localhost.bsd-unix.org> <20030312104253.48785.qmail@web13509.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Mar 12, 2003 at 02:42:53AM -0800, W. J. Williams wrote:
> hi hope someone knows the answer to this riddle...I am trying to get NIS
> up and running.
> 
> 1.  one master, no slave...domain name is lab-nis-domain
> 2.  Master rc.conf file contains enabling commands to start nis server as
> well as nis_yppasswdd.  The build of the /var/yp/lab-nis-domain indicated
> "built with no errors"
> 
> 3.  client machine rc.confs contain domain name, nis_client_enable,
> rpcbind_enable.
> 
> 4.  when I run ypcat passwd from any client machine I get a list of avail
> passwords from the master domain...  all looked good...
> 
> 5.  created a new user on master, ran make lab-nis-domain and it said
> "domain already current"...so I copied the updated master.passwd file to
> /var/yp and ran make again...still same message.

How & where did you create the new user on the master? 

The user should not exist in the client machine master.passwd.

Try adding a test user with: pw useradd -Y -y /var/yp/master.passwd testuser

Try logging into the master with the new user. Success? Try the client.

HTH

	-Mike

> 
> 6.  as last resort I ran ypinit -m again to rebuild the entire
> domain..then ran ypcat passwd from client machine and was able to see the
> new account.
> 
> 7.  MY PROBLEM:  I can't log into the client machine using the new
> account...I have added the +::::::::: string to master.passwd and +:*::
> string to group file...but still no work.
> 
> any ideas?
> 
> Will
> 
> To Unsubscribe: send mail to majordomo@FreeBSD.org
> with "unsubscribe freebsd-questions" in the body of the message

-- 
Michael Galvez             http://www.people.virginia.edu/~mrg8n
University of Virginia        Messenger Mail: Carruthers Hall

Teamwork is essential -- it allows you to blame someone else.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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