Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 06 Dec 1999 01:36:02 +0100
From:      "Ahmed Benani" <ahmed_benani@urbanet.ch>
To:        "Blake R. Swensen" <blake@pyramus.com>, freebsd-questions@FreeBSD.ORG
Cc:        vepjan@image.dk
Subject:   Re : freebsd as NIS-client?
Message-ID:  <19991206003711.EE0D514D6E@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
STOP SENDING YOUR MESSAGES I RECEIVED MORE THAN 200 PER DAY AND I NEVER
UBSCRIBE TO YOUR LIST: THANK YOU FOR YOUR COOPERATION
ahmed_benani@urbanet.ch
----------
>De=A0: "Blake R. Swensen" <blake@pyramus.com>
>=C0 : freebsd-questions@FreeBSD.ORG
>Cc : vepjan@image.dk
>Objet=A0: Re: freebsd as NIS-client?
>Date=A0: Dim 5 d=E9c 1999 19:54
>

>I ran into this same problem (only on all FBSD network).  Try adding the 
>domain and server name to the ypbind command line... ie.
>
>ypbind -S your.domain,your.NIS.server
>
>also, make sure that your /etc/host.conf file includes nis in the 
>resolution order...
>
>#/etc/host.conf
>#Check nis server first
>nis
>#Then check with the DNS server
>bind
>#then look under /etc/hosts last
>hosts
>
>Third, I found that it helps to have an /etc/hosts entry for the server 
>on each of the clients... counter to what the host.conf says, it appears 
>that some services don't come up fully during re-boot when ypbind is 
>called from /etc/rc.conf, and certain clients had a hard time finding my 
>master server.
>
>Finally... although the man and documentation says otherwise, I couldn't 
>get my clients to attach until I had an entry in /var/yp/securenets on 
>the server. This is a good idea anyway... and pretty necessary if your 
>clients are coming in different networks.
>
>On Sun, 5 Dec 1999, Crist J. Clark wrote:
>
>> vepjan@image.dk wrote,
>> > 
>> > I have problems using my freebsd-3.3 box as a NIS client.
>> [snip]
>> >
>> > On freebsd I did this:
>> > domainname "the right domain"
>> > ypbind
>> > 
>> > As far as I understand I should then be able to
>> > get a host by issuing 
>> > ypwhich
>> 
>> IIRC, ypwhich does not actually _do_ anything, it just spits back the
>> server that ypbind has found.
>> 
>> > But it runs for about 2 minuttes (and then i cancel it).
>> 
>> Hmmm...
>> 
>> > I've browsed this mailing list to find answers/directions
>> > for the setup. All I found was "man nis" and reading this
>> > didn't help. 
>> > 
>> > The master is a Digital Unix 4.0d.
>> 
>> Is the server on the same LAN?
>> -- 
>> Crist J. Clark                           cjclark@home.com
>> 
>> 
>> To Unsubscribe: send mail to majordomo@FreeBSD.org
>> with "unsubscribe freebsd-questions" in the body of the message
>> 
>
>
>To Unsubscribe: send mail to majordomo@FreeBSD.org
>with "unsubscribe freebsd-questions" in the body of the message
>
>


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?19991206003711.EE0D514D6E>