I'm having a problem initializing an NIS client under
I have an /etc/yp.conf file with the following format
(edited for security)
domain mynisdomainname server mymasterserver
When ypbind runs, it parses the file, and finds the
domainname, but domainname still reports itself as
If I set the domainname by hand and then run ypbind,
I see the following (via the debug flag):
cleared entry for domain mynisdomainname: server 0.0.0.0, port 0
parsing config file
Trying entry: domain mynisdomainname server mymasterserver
parsed domain mynisdomainname server mymasterserver
bindto_server: domain mynisdomainname, host mymasterserver
updated entry for domain mynisdomainname: server 204.243.xxx.xxx, port 663
pinging server 204.243.xxx.xxx, port 663
If I do a ypwhich, I get the correct answer back, and
ypbind's debug also notes the following:
YPBINDPROC_DOMAIN_2: server 204.243.xxx.xxx, port 663
However, when I do a ypcat for any map, I get an error
that looks something like this:
No such map hosts.byname. Reason: can't bind to a server which serves domain
The server I'm using is a SunOS 4.1.3 ypmaster, and is
currently serving many clients of various platforms,
and is indeed answering at 663 with ypserv.
Am I missing something (hopefully simple) here?
Any suggestions would be greatly appreciated.
My return address has been altered to limit spam.
Please use the address in my .sig
(SunOS veteran, LiNUX pleab)
Christopher M. Chin (415) 543-7696 (voice)
UNIX/Network Administrator (415) 896-1327 (fax)
"There's no such thing as strong coffee ... chris(at)Advent(dot)COM
.... just weak people."