From owner-freebsd-questions Sun Dec 5 16:37:16 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 EE0D514D6E for ; Sun, 5 Dec 1999 16:37:11 -0800 (PST) (envelope-from ahmed_benani@urbanet.ch) Received: (qmail 26491 invoked from network); 6 Dec 1999 00:37:10 -0000 Received: from unknown (HELO ?195.202.204.137?) (195.202.204.137) by monterosa.urbanet.ch with SMTP; 6 Dec 1999 00:37:10 -0000 X-Mailer: Microsoft Outlook Express for Macintosh - 4.01 (295) Date: Mon, 06 Dec 1999 01:36:02 +0100 Subject: 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: <19991206003711.EE0D514D6E@hub.freebsd.org> Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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" >=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