When user_realm is used by PAM, do likewise in kinit.
commit3f3bcc273189629d32682a2f16259921aa71a0ac
authorViktor Dukhovni <viktor@twosigma.com>
Thu, 16 May 2013 00:07:56 +0000 (16 00:07 +0000)
committerViktor Dukhovni <postfix-users@dukhovni.org>
Thu, 16 May 2013 04:32:08 +0000 (16 00:32 -0400)
tree159a373ca68aec49707db4a66a5d6b84b1a47519
parent4fcad71a3a5e806a5f8a025b5de7a947911ce8a6
When user_realm is used by PAM, do likewise in kinit.

When PAM is configured to use a user_realm that is different from the
default realm, do likewise in kinit with bare user names or the default
principal computed from the login name.

Similarly, when using a keytab, if no realm is specified find the most
suitable match in the keytab file.
kuser/kinit.c