[2724] in Kerberos-V5-bugs

home help back first fref pref prev next nref lref last post

Re: pending/418: Make check coming up with Rsolve error under sloaris 2.5.1

daemon@ATHENA.MIT.EDU (Theodore Y. Ts'o)
Wed Apr 23 17:38:51 1997

Date: Wed, 23 Apr 1997 17:36:25 -0400
From: "Theodore Y. Ts'o" <tytso@MIT.EDU>
To: krb5-bugs@MIT.EDU, dpss@dataprompt.com
Cc: gnats-admin@RT-11.MIT.EDU, krb5-prs@RT-11.MIT.EDU
In-Reply-To: Shujaat Siddiqui's message of Wed, 23 Apr 1997 16:40:02 -0400,
	<199704232040.QAA18778@rt-11.MIT.EDU>

   From: dpss@dataprompt.com (Shujaat Siddiqui)
   Cc: dpss@dataprompt.com (Shujaat Siddiqui)

   ./resolve
   Hostname:  dprmp4
   Host address: 192.133.97.4
   FQDN: dprmp4

   Resolve library did not return a fully qualified domain name

   You may have to reconfigure the kerberos distribution to select a           
   different set of libraries using --with-netlib[=libs]

   ############### END of OUTPUT #####################################

   Which I can not understand.  According to your documentation, this
   problem I will only have with Solaris 2.0-2.3.  Could you please help
   me out.  I would really appreciate it.

Solaris 2.4 and higher *can* be configured to do the right thing with
your resolver, but you have to disable yellow pages or NIS, since Sun
really badly broke gethostbyname() if you're using YP or NIS.

Basically, Kerberos relies on the DNS concept "Fully Qualified Canonical
Name".  A fully qualified canonical name might be
"dprmp4.dataprompt.com".  Or "tsx-11.mit.edu" or "www.microsoft.com".

The problem is that gethostbyname isn't returning a fully qualified
hostname like "dprmp4.dataprompt.com"; instead, it's returning "dprmp4"
instead.  This can be caused by a number of things; a broken YP/NIS
setup; the need to fix your /etc/hosts file (See the "Getting DNS
Information Correct" in the Kerberos 5 System Administrator's Guide.)

I hope this help explains what's going on.  Good luck!!

						- Ted





home help back first fref pref prev next nref lref last post