Re: NIS & NIS+
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Unix and Linux reviews > Free Unix support > Unix administration > Re: NIS & NIS+




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Re: NIS & NIS+  
Man


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-02-07 12:19 PM

Thank your for your replies, Marc. Very helpful.

Some questions inline.

"Marc Girod" <marc.girod@gmail.com> wrote in message
news:1185801653.896882.54930@22g2000hsm.googlegroups.com...
> Hi,
> 
>
> I don't know.
> I'd try it, i.e. in /etc/nsswitch.conf:
>
> passwd:     files nisplus nis
> 
>
> domainname: returns your domain name

What would it return if it is nisplus client or if not a client for
nis or nisplus?
Or if LDAP is being used?

> 
>
> You can at least check whether it is nis (aka v 2):
> ypwhich -V 2

This seems to return the nis server name.

>
> I guess 'nisswitch -V 3' should work in the same way...

I don't seem to have nisswitch on my machines
These are the binaries starting with nis which are present

nisaddcred   nischown     nisgrep      nismatch     nisprefadm   nistest
niscat       nischttl     nisgrpadm    nismkdir     nisrm
nischgrp     nisdefaults  nisln        nispasswd    nisrmdir
nischmod     niserror     nisls        nispath      nistbladm

> 
>
> ypwhich: returns the name of your server (currently bound, I guess)
> 
>
> nisswich

Again, no nisswich on the machine.

> 
>
> Yes. From man 8 ypbind (describing /etc/yp.conf):
>
>       domain nisdomain server hostname
>              Use server hostname for the domain nisdomain.  You
> could  have
>              more then one entry of this type for a single domain.
> 
>
> I guess so.







[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 06:06 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register