Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Apr 2005 11:07:56 -0700
From:      Mike Carlson <m87carlson@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Fwd: FreeBSD NIS client and Solaris NIS server problem...
Message-ID:  <fe1fa63f050428110766a711c@mail.gmail.com>
In-Reply-To: <fe1fa63f05042809576555d7b8@mail.gmail.com>
References:  <fe1fa63f05042716391cc3701a@mail.gmail.com> <54844.145.248.192.30.1114703965.squirrel@webmail.thilelli.net> <fe1fa63f05042809576555d7b8@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Thanks Julien.

---------- Forwarded message ----------
From: Mike Carlson <m87carlson@gmail.com>
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 <jpeg@thilelli.net> 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.
>
>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?fe1fa63f050428110766a711c>