I don't do this NIS-server-thing very often (it was a few years since the
last time), but I will try to help anyway.
Mark Johnson <mXrXj001@shaw.ca> wrote:
> I followed the directions in the NIS HOWTO, but I get the following
> error on the server:
> mj@enterprise:~/seti$ ypwhich -m
> Can't get map list for domain enterprise. Reason: Can't bind to server
> which serves this domain
On the server you should be running both ypserv and ypbind. Did you also
start ypbind?
> If I run ypserv with the -d option, it prints out this:
> root@enterprise:/var/yp# ypserv -d
> [ypserv (ypserv) 2.13]
>
> Find securenet: 255.0.0.0 255.0.0.0
> Find securenet: 255.255.255.0 255.255.255.0 ypserv.conf:
> 192.168.1.0/192.168.1.0:*:*:0 ypproc_domain_nonack("enterprise.yp")
> [From: 192.168.1.3:32781]
> -> Ignored (not a valid domain)
>
>
> I originally had "enterprise.yp" in my /etc/defaultdomain file, but
> changed it to "enterprise" thinking that maybe it didn't like the name.
If I remember right defaultdoamin is for ypbind but ypserv uses data from
ypserv.conf. Maybe your ypserv.conf says something about "enterprise.yp"?
regards Henrik
--
The address in the header is only to prevent spam. My real address is:
hc2(at)uthyres.com Examples of addresses which go to spammers:
info@k-software.biz svar@webtelevision.se info@webrider.ru root@localhost