[3] in Hesiod
Some problems with hesiod
daemon@ATHENA.MIT.EDU (Doug Alan)
Sat Jul 30 02:03:42 1988
From: Doug Alan <nessus@ATHENA.MIT.EDU>
To: hesiod@ATHENA.MIT.EDU
Date: Sat, 30 Jul 88 01:56:21 EDT
I have set up my own hesiod server for the domain EECS.MIT.EDU. The
server for the most part has Athena workstation release 5.5T on it. I
made a little 'passwd' database, and the command:
hesinfo -b nessus passwd
seems to do the right thing. It outputs:
nessus.passwd.ns.EECS.MIT.EDU
nessus:*:654:101:Doug Alan,Hey You,38-388M,2583,3546403:/u/nessus:/bin/csh
However, if I try:
hesinfo -b nessus@athena.mit.edu passwd
instead of outputing:
nessus.passwd.ns.athena.mit.edu
nessus:*:654:101:Doug Alan,Hey You,38-388M,2583,3546403:/mit/nessus:/bin/csh
as it should, it outputs:
error 1
So, thinks I, maybe I have my configuration stuff for other domains
wrong, so I try something which should clearly work, because the first
example worked:
hesinfo -b nessus@eecs.mit.edu passwd
Unfortunately, this too outputs:
error 1
So, I think, maybe I'll try to use that rhs-extension hesiod name type
that I read about, so I set up a little rhs-extension database, and
now:
hesinfo athena rhs-extension
outputs:
.ATHENA.MIT.EDU
So, now I try:
hesinfo -b nessus@athena passwd
and I get:
athena.rhs-extention.ns.EECS.MIT.EDU.ATHENA.MIT.EDU
which is not the right thing at all! What's going on?
|>oug /\lan
P.S. I tried building a hesiod system from the recent release that
was announced in Unix-Wizards and places on athena-dist.mit.edu, but
it won't compile. The installation instructions in (3b) say "Edit the
makefile to define and HESIOD for CFLAGS", which seems to be missing
something. Definitions for C_HS and T_UNSPECA are missing from
${DIST}/include/arpa/nameser.h . I defined C_HS and T_UNSPECA and
then named would compile, but hesinfo wouldn't compile, the error
being:
Undefined:
_getshort
At this point, I gave up.