Re: FreeBSD NIS client and Solaris NIS server problem...

From: Julien Gabel (jpeg_at_thilelli.net)
Date: 04/28/05

  • Next message: Kris Kennaway: "Re: netcat strange behaviour"
    Date: Thu, 28 Apr 2005 17:59:25 +0200 (CEST)
    To: "Mike Carlson" <m87carlson@gmail.com>
    
    

    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.
    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"
    

  • Next message: Kris Kennaway: "Re: netcat strange behaviour"

    Relevant Pages

    • Re: [SLE] NIS Problem
      ... > i've setted up a NIS server and NIS clients on SuSE 8.2.. ... > I have to map the /home directory, which resides on the NIS Server, ... NIS/Autofs Example Setup ...
      (SuSE)
    • Re: NIS Problem Suse/AIX (Domains?)
      ... The linux PC's NIS and DNS domains are different, ... IP address for the NIS server. ... >> client on an AIX network with an AIX NIS server. ...
      (comp.os.linux.networking)
    • Re: FreeBSD as NIS client to Linux
      ... now the advantages of NIS are gone ... ... If the NIS server goes belly up, ... > from a server to all machines. ... argue rather trading robustness for fancyness... ...
      (comp.unix.bsd.freebsd.misc)
    • Re: Cant find NIS servers
      ... You can use local accounts. ... startup to fail ypbind after sufficient tries. ... stall is not in starting the NIS client, ... ypwhich: can't communicate with ypbind ...
      (comp.unix.solaris)
    • Re: FreeBSD as NIS client to Linux
      ... that the NIS server is already ... > productive for Linux clients. ... my FreeBSD machine can use NIS, ... say adios to all your machines. ...
      (comp.unix.bsd.freebsd.misc)