From owner-freebsd-questions@FreeBSD.ORG Thu Apr 28 15:59:38 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 85F8B16A4CE for ; Thu, 28 Apr 2005 15:59:38 +0000 (GMT) Received: from smtp.thilelli.net (smtp.thilelli.net [213.41.129.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 963FE43D2D for ; Thu, 28 Apr 2005 15:59:37 +0000 (GMT) (envelope-from jpeg@thilelli.net) Received: from localhost (localhost [127.0.0.1]) by bento.thilelli.net (Postfix) with ESMTP id 4762F73011; Thu, 28 Apr 2005 17:59:36 +0200 (CEST) Received: from bento.thilelli.net ([127.0.0.1]) by localhost (bento.thilelli.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 82555-05; Thu, 28 Apr 2005 17:59:25 +0200 (CEST) Received: from webmail.thilelli.net (localhost [127.0.0.1]) by bento.thilelli.net (Postfix) with ESMTP id 17FDA7300D; Thu, 28 Apr 2005 17:59:25 +0200 (CEST) Received: from 145.248.192.30 (SquirrelMail authenticated user jgabel) by webmail.thilelli.net with HTTP; Thu, 28 Apr 2005 17:59:25 +0200 (CEST) Message-ID: <54844.145.248.192.30.1114703965.squirrel@webmail.thilelli.net> In-Reply-To: References: Date: Thu, 28 Apr 2005 17:59:25 +0200 (CEST) From: "Julien Gabel" To: "Mike Carlson" User-Agent: SquirrelMail/1.4.4 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: amavisd-new at thilelli.net cc: freebsd-questions@freebsd.org Subject: Re: FreeBSD NIS client and Solaris NIS server problem... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: jpeg@thilelli.net List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2005 15:59:38 -0000 Hello, > I'm having a bit of trouble getting my FreeBSD workstation ( 5.4 > PRERELEASE ) binding to our Solaris 8 NIS server. I do not get any > warnings or errors when ypbind starts up, but if I do a 'rpcinfo > localhost', it takes a very long time to come back with anything(stays > in a 'nanslp' state the whole time), and trying to do a 'ypcat hosts' > ( or an equivalent ypcat query ) times out with the error: > > $ ypcat hosts > ypcat: no such map hosts.byaddr. reason: Can't bind to server which > serves this domain > > if I run rpcbind manually with the -d flag I get the following message: > > $ rpcbind -d > rpcbind debugging enabled. > can't get local ip6 address: hostname nor servname provided, or not > known > > Now, I dont have ipv6 compiled in the kernel, but is rpcbind dependent on > it? > > Here are the parameters I'm using in rc.conf for nis: > > rpcbind_enable="YES" > nisdomainname="delta" > nis_client_enable="YES" > nis_client_flags="-S delta,engr-nis1,engr-nis2" > > Any info is appreciated, I would like to access my NFS home directory > from my workstation :) Because rpcbind is a dependancy of ypbind, no (real) need to explicitly enable it... but it doesn't hurt. I personnaly use a very similar setup at work (Solaris NIS server and FreeBSD NIS client), and binding point to point the two works great: # grep nis /etc/rc.conf nisdomainname="domain" nis_client_enable="YES" nis_client_flags="-ypset -s -m -S domain,foor,bar" # /etc/rc.d/ypbind start If ypwhich(1) don't tell you more on the hostname of NIS server, the problem may come from the configuration of the server, not the client. -- -jpeg.