On Mon, 23 Jun 1997, Sami Laine wrote:

> I have a small problem with ypbind. Master NIS server is running at
> 192.168.1.100 (network 192.168.96/255.255.255.224) and client machine
> is at 192.168.1.37 (network 192.168.1.32/255.255.255.224).
> 
> When I start ypbind it tries to find out master server by broadcasts, even
> if I specify domain and server with 'ypbind -S office,192.168.1.100'.
> 
> I have also placed following info into /etc/yp.conf:
> 
> domain office
> nisserver 192.168.1.100
> 
> But I assume /etc/yp.conf doesn't do anything because Debian 1.3.0 doesn't
> have NIS support compiled into C-library.
> 
> I found syntax of /etc/nsswitch.conf a bit confusing too, but I assume
> following entries enable NIS lookups for passwd and group:
> 
> passwd:               files db
> group:                files db
> 
> I other systems I've seen 'db' replaced with 'nis', but this should do same
> thing?
> 
> Maybe someone has solved my problem and has been able to use NIS server from
> another subnetwork?

You need a different ypbind. Debian comes with the ported BSD ypbind,
which does not support binding to servers in another subnet. I currently
have no debian package of my ypbind (I'm planning on doing this, but lack
the time at the moment), but you should be able to compile and install it
without problems (you find it on
ftp://ftp.uni-paderborn.de/pub/linux/local/yp/ypbind-3.2.tar.gz). This
version is much more stable than older versions, perhaps it can be
included into the standard Debian NIS package. 

Before you make install, you might want to 
dpkg-divert --add --rename --divert /usr/sbin/ypbind.bsd /usr/sbin/ypbind
dpkg-divert --add --rename --divert /usr/man/man8/ypbind.bsd.8.gz 
/usr/man/man8/ypbind.8.gz

Hope this helps.

--Swen



--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .

Reply via email to