From owner-freebsd-questions Mon Dec 6 5:42:48 1999 Delivered-To: freebsd-questions@freebsd.org Received: from monterosa.urbanet.ch (monterosa.urbanet.ch [195.202.193.104]) by hub.freebsd.org (Postfix) with SMTP id 4C928152ED for ; Mon, 6 Dec 1999 05:42:43 -0800 (PST) (envelope-from ahmed_benani@urbanet.ch) Received: (qmail 7508 invoked from network); 6 Dec 1999 13:42:42 -0000 Received: from unknown (HELO ?195.202.204.137?) (195.202.204.137) by monterosa.urbanet.ch with SMTP; 6 Dec 1999 13:42:42 -0000 X-Mailer: Microsoft Outlook Express for Macintosh - 4.01 (295) Date: Mon, 06 Dec 1999 14:41:35 +0100 Subject: Re : Re : Re : freebsd as NIS-client? From: "Ahmed Benani" To: "Blake R. Swensen" , freebsd-questions@FreeBSD.ORG Cc: vepjan@image.dk Mime-version: 1.0 X-Priority: 3 Content-type: text/plain; charset="US-ASCII" Content-transfer-encoding: quoted-printable Message-Id: <19991206134244.4C928152ED@hub.freebsd.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG ---------- >De=A0: "Ahmed Benani" >=C0 : "Blake R. Swensen" , freebsd-questions@FreeBSD.ORG >Cc : vepjan@image.dk >Objet=A0: Re : Re : freebsd as NIS-client? >Date=A0: Lun 6 d=E9c 1999 14:36 > > >---------- >>De=DD: "Ahmed Benani" >>=BF : "Blake R. Swensen" , freebsd-questions@FreeBSD.ORG >>Cc : vepjan@image.dk >>Objet=DD: Re : freebsd as NIS-client? >>Date=DD: Lun 6 d=C8c 1999 1:36 >> > >>STOP SENDING YOUR MESSAGES I RECEIVED MORE THAN 200 PER DAY AND I NEVER >>SUBSCRIBE TO YOUR LIST: THANK YOU FOR YOUR COOPERATION >>ahmed_benani@urbanet.ch >>---------- >>>De=F0: "Blake R. Swensen" >>>=F8 : freebsd-questions@FreeBSD.ORG >>>Cc : vepjan@image.dk >>>Objet=F0: Re: freebsd as NIS-client? >>>Date=F0: Dim 5 d=BBc 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 >> >> > > >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