Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Mar 2003 12:19:01 -0800 (PST)
From:      "W. J. Williams" <will@willardjwilliams.com>
To:        freebsd-questions@FreeBSD.ORG
Subject:   Re: NIS not working
Message-ID:  <20030312201901.11503.qmail@web13505.mail.yahoo.com>
In-Reply-To: <20030312164927.GC25308@mail.virginia.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
see bottom..

--- Mike Galvez <mrg8n@virginia.edu> wrote:
> 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

***************************************

ok, thx. tried that...no dice...after adding the user with pw...I had to
do a passwd testuser and add a password.  could not log client though.  I
am trying to open a ssh connection from master to client....any other
ideas?



=====
Will Williams

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?20030312201901.11503.qmail>