From owner-freebsd-questions Tue Jun 9 10:28:30 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id KAA17479 for freebsd-questions-outgoing; Tue, 9 Jun 1998 10:28:30 -0700 (PDT) (envelope-from owner-freebsd-questions@FreeBSD.ORG) Received: from access.lipetsk.ru (access.lipetsk.ru [195.34.224.67]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id KAA17328 for ; Tue, 9 Jun 1998 10:28:00 -0700 (PDT) (envelope-from anard@takthq.lipetsk.su) Received: from explore.tts.int ([192.168.100.103]:19717 "EHLO takthq.lipetsk.su" ident: "NO-IDENT-SERVICE") by access.lipetsk.ru with ESMTP id <92563-24667>; Tue, 9 Jun 1998 21:27:36 +0400 Message-ID: <357D71C2.1D662B8@takthq.lipetsk.su> Date: Tue, 09 Jun 1998 21:32:51 +0400 From: "Aleksey Z. Nardinov" X-Mailer: Mozilla 4.05 [en] (Win95; I) MIME-Version: 1.0 To: freebsd-questions@FreeBSD.ORG Subject: HELP to setyp NIS, please Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I have a big trouble with setup NIS i have 2 FreeBSD 2.2.5 box, first box - master NIS, second slave NIS i have do on the mster domainname=NIS.domain nis_client_enable="YES" # We're an NIS client (or NO). nis_client_flags="-s" # Flags to ypbind (if enabled). nis_ypset_enable="NO" # Run ypset at boot time (or NO). nis_ypset_flags="" # Flags to ypset (if enabled). nis_server_enable="YES" # We're an NIS server (or NO). nis_server_flags="" # Flags to ypserv (if enabled). nis_ypxfrd_enable="YES" # Run rpc.ypxfrd at boot time (or NO). nis_ypxfrd_flags="" # Flags to rpc.ypxfrd (if enabled). nis_yppasswdd_enable="YES" # Run rpc.yppasswdd at boot time (or NO). nis_yppasswdd_flags="-m /var/yp/master.passwd -s -f" # Flags to rpc.yppass then build master NIS maps at /var/yp add user to the NIS user map, try to login - OK make NIS slave: domainname=NIS.domain nis_client_enable="YES" # We're an NIS client (or NO). nis_client_flags="-s" # Flags to ypbind (if enabled). nis_ypset_enable="NO" # Run ypset at boot time (or NO). nis_ypset_flags="" # Flags to ypset (if enabled). nis_server_enable="YES" # We're an NIS server (or NO). nis_server_flags="" # Flags to ypserv (if enabled). nis_ypxfrd_enable="NO" # Run rpc.ypxfrd at boot time (or NO). nis_ypxfrd_flags="" # Flags to rpc.ypxfrd (if enabled). nis_yppasswdd_enable="NO" # Run rpc.yppasswdd at boot time (or NO). nis_yppasswdd_flags="" # Flags to rpc.yppass do nathing in /var/yp reboot say on slave /var/yp > ypwhich NIS.master ypcat passwd bin:*:3:7:Binaries Commands and Source,,,:/:/nonexistent ... try to push maps from master server: master say: yppush: Transfer of map services.byname to server NIS.slave failed. yppush: status returned by ypxfr: Domain not supported by server slave say ypserv: Procedure ypproc_xfr called from MASTER:653 ypserv: Client is referencing map "services.byname". what wrong ? -- anard To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message