Question about principal aliases

Lorenzo Marcantonio <[email protected]> Mon, 4 Sep 2017 11:05:18 +0200
Newsgroups gmane.comp.encryption.kerberos.heimdal.general
Message-ID <[email protected]>
I'm trying to make aliases work but somehow they don't. Surely I'm doing
something wrong...

I want to have the 'main' principal imap/server.example.com aliased as
imap/imap.example.com for the obvious reason. So I did in kadmin

ank -r imap/server.example.com
modify --alias="imap/imap.example.com" imap/server.example.com

list -l confirms that the alias is there

now I extract the key in the keytab

ext_keytab -k /data/imap/krb5.keytab imap/server.example.com

but a ktutil list *doesn't* show the aliases (an auth doesn't work)

Trying to regenerate/extract the key with ktutil get doesn't work
either, it says "ktutil: kadm5_create_principal(imap/server.example.com):
Principal does not exist"

Any hint or documentation on what's happening?

The 'obvious' solution would be to create the imap/imap.example.com as a
standalone principal but I fear it will be a mess with
canonicalization...

Thanks in advance


--
Lorenzo Marcantonio
signature.asc (application/pgp-signature, 455 B)
-----BEGIN PGP SIGNATURE-----

iQEcBAABCAAGBQJZrRdLAAoJECF8f0KncpwvXcIH/3L7gIuD5ZmFRr8dnklPHCrY
ijGNnPr1PuNj5mO8X8O4QCoCGH0RYZ1ro8wgPhVRm0lsM4UAa7WDTN18B9EyvG6V
sRb6XuoAarT3giJQ5jS8SocKzng+oiJ0mxBV2fh61Sq3Uc54qe5lPZzZNa7vg3Y+
Nb/nmbsG2k0RdpUpQfDnVpvubKrAvQgZFRcCrvShJz8a/J2bBLp95cgR3ESM6+gJ
M+dN+utiSN2EAWWW+Xif4DDPZCD3yteczagzfat01WxjNfl2wQ6NIC4LLJA8JmcG
x21ejxHt7nV/3J7h3n2AhYWWY8fQ/LRWs9hj1tx6ndf2uWegYAsszS5JWpMAB4w=
=u//S
-----END PGP SIGNATURE-----