Kerberos Noob

Benjamin Kaduk kaduk at MIT.EDU
Thu Jul 5 22:53:46 EDT 2012


On Thu, 5 Jul 2012, Omar Barrera wrote:

> We just downloaded and installed Kerberos on a Debian Linux environment.
> When we attempt to run the the regression tests via Make check we receive
> the following error: GSS- API error acquiring credentials: Unspecified  GSS
> failure. Minor code may provide more information.  GSS-API error acquiring
> credentials: No Key table entry found for host/localhost at KRBTEST.  Any
> information is appreciated.

The test suite is rather sensitive to the network configuration, which is 
somewhat unfortunate.
You should make such changes so that your computer reverse-resolves its IP 
address to what your computer thinks its hostname is; this is usually 
easiest done by editing /etc/hosts.
For example, I had to edit this line:
127.0.0.1        localhost localhost.my.domain hysteresis.mit.edu hysteresis
to read:
127.0.0.1        prolepsis.mit.edu localhost localhost.my.domain prolepsis hysteresis.mit.edu hysteresis
and change my computer's hostname from hysteresis.mit.edu to 
prolepsis.mit.edu in order to let all of the tests run.  (hysteresis is a 
CNAME for prolepsis, and that redirection is followed by some of the name 
resolution routines used in some of the tests)

Hope this helps,

Ben Kaduk


More information about the Kerberos mailing list