Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Feb 1995 11:32:56 -0600 (CST)
From:      faulkner@mpd.tandem.com (Boyd Faulkner)
To:        sjlai@mac20.ct.monash.edu.au (Simon Lai)
Cc:        questions@FreeBSD.org
Subject:   Re: YP and FreeBSD
Message-ID:  <9502221732.AA18781@olympus>
In-Reply-To: <199502220411.PAA10760@mac20.ct.monash.edu.au> from "Simon Lai" at Feb 22, 95 03:11:01 pm

next in thread | previous in thread | raw e-mail | index | archive | help
> 
> 
> Hi,
> 
> Does anyone have this working yet ?
> 
> I am trying to get YP and amd going.  An OSF/1 host is serving.
> 
> The ypbind and ypwhich man pages do not seem to be there.
> 
> I have added the "+" entry to /etc/passwd (using vipw).  I have
> run ypbind (which from looking at the source takes only -ypset
> and -ypsetme arguments).  ypwhich complains that it cannot talk
> to ypbind.
> 
> Suggestions ?
> 
> simon
> 
> 
the vipw entry should be 
+:::::::::

the /etc/group entry
+:::

and I put this in /etc/rc.local
if [ -f /etc/defaultdomain ] ; then
        domainname `cat /etc/defaultdomain`
fi

dname=`domainname`
if [ -n $dname ] ; then
        ypbind
fi

and fixed /etc/defaultdomain accordingly.
ypwhich works for me.
the mail alias stuff doesn't and I have to hack that by hand.

Good Luck,
Boyd

-- 
_______________________________________________________________________

 Boyd Faulkner                                  faulkner@isd.tandem.com 
_______________________________________________________________________



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