From owner-freebsd-questions Thu Aug 24 5: 9: 1 2000 Delivered-To: freebsd-questions@freebsd.org Received: from synology.com (dns1.synology.com [202.173.37.131]) by hub.freebsd.org (Postfix) with ESMTP id 2E24337B423 for ; Thu, 24 Aug 2000 05:08:27 -0700 (PDT) Received: from synology.com (IDENT:nobody@localhost [127.0.0.1]) by synology.com (8.9.3/8.9.3) with SMTP id UAA03280 for freebsd-questions@FreeBSD.ORG; Thu, 24 Aug 2000 20:13:25 +0800 Date: Thu, 24 Aug 2000 20:13:25 +0800 Message-Id: <200008241213.UAA03280@synology.com> To: freebsd-questions@FreeBSD.ORG Subject: about NIS From: Vic Hsu X-Mailer: TWIG Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi: I have some questions about NIS. I have two machines that have installed FreeBSD. I want to use NIS to share information, one is master server, and the other is client. But when I follow the Handbook's steps to setup, there are some problems confusing me: 1.when I use "ypinit -m" to generate the database, the services.byname process print many duplicate message, like "yp_mkdb:duplicate key 'csdm/tcp' - skipping". Is it harmless? If I don't modify the Makefile, how can I solve the problem? Edit the services file?? 2.When I boot the NIS client, I can't use server side's user to login. But when I use local user login, I can use "ypcat passwd" and "ypwhich" etc. My client setup step are: (1)edit rc.conf: disdomainname="mydomain" nis_client_enable="YES" nis_client_flag="" (2)edit host.conf: uncomment the nis line. (3)add +::::::::: to master.passwd, add +:::::: to passwd, add +:*:: to group. (4)reboot Is anything wrong? Thank you very much....:) -- Synology Inc. Vih Hsu 25521814 ext827 vich@synology.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message