linux-admin.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Mauricio Silveira <msilveira@linuxbr.com>
To: Jeff Largent <jlargent@imagelinks.com>, linux-admin@vger.kernel.org
Subject: Re: Slackware? and NIS
Date: Wed, 26 May 2004 01:45:26 -0300	[thread overview]
Message-ID: <40B420E6.7020004@linuxbr.com> (raw)
In-Reply-To: <1085487070.1492.15.camel@mcbain.imagelinks.com>

Jeff Largent wrote:

>On Mon, 2004-05-24 at 20:27, Mauricio Silveira wrote:
>  
>
>>Hello there
>>
>>
>>I've notice some strange behaviour about NIS.
>>I'm using a slackware 9.1 box with slackware-current updates.
>>
>>
>>I've configured a server and ran make under /var/yp and then tried 
>>'ypcat passwd' and 'ypcat group' on a client machine; It retrieved the 
>>passwd file correctly, but the group was empty. Later I ran 'ypmake' and 
>>the 'ypcat group'  on the client side dumped the information.
>>
>>    
>>
>
>I've never run NIS on a Slackware box, but on Redhat you have to edit
>the Makefile in /var/yp.  It dosn't work straight out of the box.
>
>  
>
>>And when I change the password on the server machine, I must run make 
>>under /var/yp, ypmake does'nt update the NIS passwd database.
>>
>>    
>>
>
>Did you mean running passwd on the server did not make the NIS passwd
>database?  When you are running NIS use yppasswd instead of passwd.
>
>  
>
I know I should run ypppasswd on the client side, but when i change some 
user's password on the server machine, running ypmake doesn't update the 
NIS databases, I MUST run make under /var/yp to get the passwords 
updated to the NIS service. This seems like a NIS/ypmake bug?

On the other side, if I run make under /var/yp for the first time, the 
"group" table is built empty, and running ypmake rebuilds it correctly.

>>So, my question is: Am I doind something wrong, or NIS is not behaving 
>>as it should... here?
>>
>>version information:
>>
>>yp-tools-2.8
>>ypbind-mt-1.17.2
>>ypmake-0.11
>>ypserv-2.12.1
>>    
>>
Seems like NIS 'schema' changed a lot since I last used them...

>>Thanks,
>>Mauricio
>>
>>-
>>To unsubscribe from this list: send the line "unsubscribe linux-admin" in
>>the body of a message to majordomo@vger.kernel.org
>>More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>
>>    
>>
>
>
>
>  
>


      parent reply	other threads:[~2004-05-26  4:45 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-05-25  0:27 Slackware? and NIS Mauricio Silveira
     [not found] ` <1085487070.1492.15.camel@mcbain.imagelinks.com>
2004-05-26  4:45   ` Mauricio Silveira [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=40B420E6.7020004@linuxbr.com \
    --to=msilveira@linuxbr.com \
    --cc=jlargent@imagelinks.com \
    --cc=linux-admin@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).