Two new flags for krb5_parse_name_flags_realm():
commit4fcad71a3a5e806a5f8a025b5de7a947911ce8a6
authorViktor Dukhovni <viktor@twosigma.com>
Wed, 15 May 2013 23:40:38 +0000 (15 19:40 -0400)
committerViktor Dukhovni <postfix-users@dukhovni.org>
Thu, 16 May 2013 04:32:08 +0000 (16 00:32 -0400)
treea7677affac4e42c027e1b0a8c94cd3f3f9ce97a6
parenta2127d091d08fa23e1a293f2811565e58b285fde
Two new flags for krb5_parse_name_flags_realm():

    - KRB5_PRINCIPAL_PARSE_IGNORE_REALM: MIT compatible

    - KRB5_PRINCIPAL_PARSE_NO_DEF_REALM: Don't default the realm

The first ignores the realm if present.

The second does not impute the default realm if no realm is given and
leaves the realm NULL.  This will be used in kinit to determine whether
the user provided a realm or not, and if not we may use the user_realm,
or find the realm via the keytab.
lib/krb5/krb5.h
lib/krb5/principal.c