From owner-freebsd-questions Sat Feb 24 14:55:12 2001 Delivered-To: freebsd-questions@freebsd.org Received: from castle.dreaming.org (castle.dreaming.org [216.221.214.170]) by hub.freebsd.org (Postfix) with ESMTP id 843D437B4EC for ; Sat, 24 Feb 2001 14:55:08 -0800 (PST) (envelope-from mit@mitayai.net) Received: from cr592943a (cr592943-a.bloor1.on.wave.home.com [24.156.38.199]) by castle.dreaming.org (8.11.2/8.11.2) with SMTP id f1OMt4K14258 for ; Sat, 24 Feb 2001 17:55:05 -0500 (EST) (envelope-from mit@mitayai.net) From: "Will Mitayai Keeso Rowe" To: Subject: NIS question Date: Sat, 24 Feb 2001 17:53:05 -0500 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_01F2_01C09E8A.A3A4DCE0" X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Importance: Normal Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_01F2_01C09E8A.A3A4DCE0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Hi, folks! I'm running 4.2-STABLE and have a question. I have two machines, one (castle) is my mail server that has shell, ftp and mail, and another (arachne) that has the webserver. I want to run NIS to distribute the password files between the two. Castle would NIS master, and arachne would be NIS slave. I've done the setup as per the handbook. My first question is... do i have to enable castle and arachne to be both master and slave in rc.conf? ie.. #castle rc.conf nisdomainname="dreaming" nis_server_enable="YES" nis_yppasswdd_enable="YES" nis_client_flags="-Sdreaming,castle" nfs_client_enable="YES" #arachne rc.conf nisdomainname="dreaming" nis_server_enable="YES" nis_client_enable="YES" nis_yppasswdd_enable="YES" nis_client_flags="-Sdreaming,arachne" and, my second question is this the right format for castle's /var/yp/ypservers ? castle.dreaming.org castle.dreaming.org arachne.dreaming.org arachne.dreaming.org Any help or advice will be appreciated. Regards, Mit ------=_NextPart_000_01F2_01C09E8A.A3A4DCE0 Content-Type: text/x-vcard; name="Will Mitayai Keeso Rowe.vcf" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="Will Mitayai Keeso Rowe.vcf" BEGIN:VCARD VERSION:2.1 N:Rowe;Will;Mitayai Keeso FN:Will Mitayai Keeso Rowe NICKNAME:Mitayai ORG:Mitayai.Net TITLE:President NOTE:=20 TEL;WORK;VOICE:(416) 934-9404 TEL;HOME;VOICE:(416) 934-0349 TEL;CELL;VOICE:(416) 561-1616 TEL;WORK;FAX:(253) 541-9915 ADR;WORK:;;#9-552 Church Street;Toronto;ON;M4Y 2E4;Canada LABEL;WORK;ENCODING=3DQUOTED-PRINTABLE:#9-552 Church = Street=3D0D=3D0AToronto, ON M4Y 2E4=3D0D=3D0ACanada ADR;HOME:;;;;;;Canada LABEL;HOME:Canada URL:http://www.mitayai.net/ BDAY:19701012 EMAIL;PREF;INTERNET:mit@mitayai.net REV:20010224T192609Z END:VCARD ------=_NextPart_000_01F2_01C09E8A.A3A4DCE0-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message