So on a clean squeeze install if I type in: # apt-get install heimdal-kdc # hprop hprop: krb5_get_init_creds: unable to reach any KDC in realm IN.VPAC.ORG
Fair enough. I didn't configure the KDC. If I do the same thing on wheezy I get: # apt-get install heimdal-kdc # hprop hprop: krb5_get_init_creds: Failed to find kadmin/[email protected] in keytab HDB: (unknown enctype) strace shows no attempt to contact the KDC or even read keytab. [...] open("/root/.krb5/config", O_RDONLY) = -1 ENOENT (No such file or directory) open("/etc/krb5.conf", O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=3706, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f5af9815000 read(3, "[libdefaults]\n\tdefault_realm = I"..., 4096) = 3706 read(3, "", 4096) = 0 close(3) = 0 munmap(0x7f5af9815000, 4096) = 0 getuid() = 0 geteuid() = 0 getgid() = 0 getegid() = 0 getuid() = 0 geteuid() = 0 getgid() = 0 getegid() = 0 open("/usr/lib/x86_64-linux-gnu/plugin/krb5", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/usr/lib/x86_64-linux-gnu/plugin/krb5", O_RDONLY|O_NONBLOCK|O_DIRECTORY|O_CLOEXEC) = -1 ENOENT (No such file or directory) getuid() = 0 geteuid() = 0 getgid() = 0 getegid() = 0 open("/root/.rnd", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory) open("/dev/urandom", O_RDONLY|O_NONBLOCK) = 3 fcntl(3, F_GETFD) = 0 fcntl(3, F_SETFD, FD_CLOEXEC) = 0 read(3, "\231\337\234}H\37\31>\254O\33\303Dk\343\266\222\1\342\330M\31\17o\201e~T\224\344g\256"..., 128) = 128 close(3) = 0 getuid() = 0 write(2, "hprop: ", 7hprop: ) = 7 write(2, "krb5_get_init_creds: Failed to f"..., 93krb5_get_init_creds: Failed to find kadmin/[email protected] in keytab HDB: (unknown enctype)) = 93 write(2, "\n", 1 ) = 1 exit_group(1) = ? gdb strack trace shows: (gdb) bt #0 krb5_err (context=0x606040, eval=1, code=-1765328203, fmt=0x403d46 "krb5_get_init_creds") at warn.c:210 #1 0x0000000000402b7c in get_creds (cache=<optimized out>, context=<optimized out>) at hprop.c:168 #2 main (argc=1, argv=0x7fffffffeb78) at hprop.c:432 Which appears to be line 179 in hprop.c, not 168 as above. Will see if I can do the test now with the latest upstream Heimdal.

