From owner-freebsd-questions Wed Mar 12 8:45:32 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 031EF37B401 for ; Wed, 12 Mar 2003 08:45:31 -0800 (PST) Received: from humpty.finadmin.virginia.edu (humpty.finadmin.Virginia.EDU [128.143.87.245]) by mx1.FreeBSD.org (Postfix) with ESMTP id BAD6343F85 for ; Wed, 12 Mar 2003 08:45:27 -0800 (PST) (envelope-from mrg8n@virginia.edu) Received: from humpty.finadmin.virginia.edu (localhost.finadmin.virginia.edu [127.0.0.1]) by humpty.finadmin.virginia.edu (8.12.8/8.12.8) with ESMTP id h2CGnSMe025767; Wed, 12 Mar 2003 11:49:29 -0500 (EST) (envelope-from mrg8n@virginia.edu) Received: (from mrg8n@localhost) by humpty.finadmin.virginia.edu (8.12.8/8.12.8/Submit) id h2CGnRcB025766; Wed, 12 Mar 2003 11:49:27 -0500 (EST) (envelope-from mrg8n@virginia.edu) X-Authentication-Warning: humpty.finadmin.virginia.edu: mrg8n set sender to mrg8n@virginia.edu using -f Date: Wed, 12 Mar 2003 11:49:27 -0500 From: Mike Galvez To: "W. J. Williams" Cc: freebsd-questions@FreeBSD.ORG Subject: Re: NIS not working Message-ID: <20030312164927.GC25308@mail.virginia.edu> References: <20030312001934.W5026@localhost.bsd-unix.org> <20030312104253.48785.qmail@web13509.mail.yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030312104253.48785.qmail@web13509.mail.yahoo.com> User-Agent: Mutt/1.4i X-Operating-System: FreeBSD UNIX 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 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