View previous topic :: View next topic |
Author |
Message |
Joseph K. Guru
Joined: 07 Jun 2006 Posts: 436 Location: Sydney, Australia
|
Posted: Fri Jul 15, 2011 11:15 am Post subject: mit-krb5 fails tests: Resolve library did not return FQDN |
|
|
Like the subject says, mit-krb5 fails to emerge if the test phase is enabled, presumably because my machine is behind a router and thus has no FQDN.
Is it possible to assign a FQDN to machines in a private network using .local? I can't seem to find any guides for it.
Obviously, I can get around the test phase, but I would like to solve it rather than dodge it if possible. Thanks, cheers.
Quote: | LD_LIBRARY_PATH=`echo -L../../lib | sed -e "s/-L//g" -e "s/ /:/g"`; export LD_LIBRARY_PATH; ./resolve
Hostname: prison
Host address: 127.0.0.1
FQDN: localhost
Resolve library did not return a fully qualified domain name.
If you are using /etc/hosts before DNS, e.g. "files" is listed first
for "hosts:" in nsswitch.conf, ensure that you have listed the FQDN
as the first name for the local host.
If this does not correct the problem, you may have to reconfigure the kerberos
distribution to select a different set of libraries using
--with-netlib[=libs]
|
|
|
Back to top |
|
|
Veldrin Veteran
Joined: 27 Jul 2004 Posts: 1945 Location: Zurich, Switzerland
|
Posted: Fri Jul 15, 2011 11:25 am Post subject: |
|
|
kerberos makes extensive use of DNS reverse lookups to match IP addresses back to hostnames (and principal names).
I guess the problem I you case is, that the forward lookup name (prison) does not match the reverse lookup (localhost). Just add your hostname prinson to the 127.0.0.1 line in /etc/hosts.
From memory, mit-krb5 can be installed without a functioning dns (bind) infrastructure, but it has bee some time since I last did it.
V. _________________ read the portage output!
If my answer is too concise, ask for an explanation. |
|
Back to top |
|
|
Joseph K. Guru
Joined: 07 Jun 2006 Posts: 436 Location: Sydney, Australia
|
Posted: Fri Jul 15, 2011 1:21 pm Post subject: |
|
|
Although I already had "prison" on the 127.0.0.1 line, I tried making it the first host name but to no avail. It really seems to be the fact that "prison" or "localhost" is not a FQDN.
Can I set a domain name in /etc/conf.d/network somehow? The example file only shows that NIS users can set domainname="foobar", of which I assume that I am not one.
My router has an option to set a domain name, but the documentation says that is only if my ISP specifies it. |
|
Back to top |
|
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|