Networking Forums

Networking Forums > Computer Networking > Linux Networking > NIS client question

Reply
Thread Tools Display Modes

NIS client question

 
 
skwork
Guest
Posts: n/a

 
      10-13-2004, 10:18 AM
Hi,
I have basic question regarding NIS client.

After binding , does NIS client cache any maps from NIS server or does
it query everytime whenever it requires the map info ?
If it does caching,does NIS server propagate the maps whichever the
NIS client has accessed?
I know the map changes on master server are propagated to Slave
servers using ypmake or yppush command.

Thanks in adavance.
-Santosh
 
Reply With Quote
 
 
 
 
Ian Northeast
Guest
Posts: n/a

 
      10-13-2004, 07:14 PM
On Wed, 13 Oct 2004 03:18:54 -0700, skwork wrote:

> Hi,
> I have basic question regarding NIS client.
>
> After binding , does NIS client cache any maps from NIS server or does it
> query everytime whenever it requires the map info ?


The NIS client per se does not cache anything. But many Linux distros
install a horrible thing called "nscd" by default which does. Not whole
maps, just entries which have been previously queried.

> If it does
> caching,does NIS server propagate the maps whichever the NIS client has
> accessed?


If nscd is caching NIS data on a client, the server has no way of knowing
this and also no way of "pushing" an update to a client. NIS client/server
transactions are always initiated by the client.

IME nscd is nothing but trouble in a NIS environment. Unless you have a
particularly recalcitrant or slow NIS server, I recommend removing nscd if
you have it.

Nscd comes from Solaris and is designed to improve performance in NIS+
networks. Having never used NIS+ I cannot comment on whether it is useful
in such an environment. But I have never found it so in a NIS one.

Regards, Ian

 
Reply With Quote
 
skwork
Guest
Posts: n/a

 
      10-14-2004, 04:15 AM
Thanks for the reply.I'll keep it in mind.
-Santosh

Ian Northeast <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> On Wed, 13 Oct 2004 03:18:54 -0700, skwork wrote:
>
> > Hi,
> > I have basic question regarding NIS client.
> >
> > After binding , does NIS client cache any maps from NIS server or does it
> > query everytime whenever it requires the map info ?

>
> The NIS client per se does not cache anything. But many Linux distros
> install a horrible thing called "nscd" by default which does. Not whole
> maps, just entries which have been previously queried.
>
> > If it does
> > caching,does NIS server propagate the maps whichever the NIS client has
> > accessed?

>
> If nscd is caching NIS data on a client, the server has no way of knowing
> this and also no way of "pushing" an update to a client. NIS client/server
> transactions are always initiated by the client.
>
> IME nscd is nothing but trouble in a NIS environment. Unless you have a
> particularly recalcitrant or slow NIS server, I recommend removing nscd if
> you have it.
>
> Nscd comes from Solaris and is designed to improve performance in NIS+
> networks. Having never used NIS+ I cannot comment on whether it is useful
> in such an environment. But I have never found it so in a NIS one.
>
> Regards, Ian

 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
CLient DNS question Dale Sampson Windows Networking 4 10-17-2006 10:24 PM
Network Client Question Peter Ellis Windows Networking 1 06-29-2006 08:35 PM
DHCP Client question Miha Pihler [MVP] Windows Networking 7 01-30-2006 07:27 PM
Ftp client question Chef Tony Linux Networking 0 02-09-2005 03:54 PM
DHCP client question Allistar Linux Networking 3 07-22-2004 04:17 PM



1 2 3 4 5 6 7 8 9 10 11