From owner-freebsd-questions@FreeBSD.ORG Thu Apr 28 18:08:06 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 85CA516A4CE for ; Thu, 28 Apr 2005 18:08:06 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id 14D5443D54 for ; Thu, 28 Apr 2005 18:08:06 +0000 (GMT) (envelope-from m87carlson@gmail.com) Received: by wproxy.gmail.com with SMTP id 69so601947wra for ; Thu, 28 Apr 2005 11:07:56 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=uofL6KsDecB7YbyqZYP0xuYGwnNApHqOwxHOKGdHP3IAoEtcHwoCC1KhTpec5/AOLRQbgJdhrDpzx7YFTp+HoDKrIoZTyY0+r5qMdHJ6B6xRNKeOVorMPbrAzGGT66EYKcKoU7Bvl2HjteUT588QskuBD0gx6R11y/GF6TELJG0= Received: by 10.54.120.19 with SMTP id s19mr873737wrc; Thu, 28 Apr 2005 11:07:56 -0700 (PDT) Received: by 10.54.69.17 with HTTP; Thu, 28 Apr 2005 11:07:56 -0700 (PDT) Message-ID: Date: Thu, 28 Apr 2005 11:07:56 -0700 From: Mike Carlson To: freebsd-questions@freebsd.org In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <54844.145.248.192.30.1114703965.squirrel@webmail.thilelli.net> Subject: Fwd: FreeBSD NIS client and Solaris NIS server problem... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Mike Carlson List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Apr 2005 18:08:06 -0000 Thanks Julien. ---------- Forwarded message ---------- From: Mike Carlson Date: Apr 28, 2005 9:57 AM Subject: Re: FreeBSD NIS client and Solaris NIS server problem... To: jpeg@thilelli.net Cool, those additional nis_client_flags did the trick, much appreciated :) Mike C On 4/28/05, Julien Gabel wrote: > 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=3D"YES" > > nisdomainname=3D"delta" > > nis_client_enable=3D"YES" > > nis_client_flags=3D"-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=3D"domain" > nis_client_enable=3D"YES" > nis_client_flags=3D"-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. > >