svn rev #25050: trunk/src/lib/krb5/krb/
ghudson@MIT.EDU
ghudson at MIT.EDU
Mon Jul 25 13:54:43 EDT 2011
http://src.mit.edu/fisheye/changelog/krb5/?cs=25050
Commit By: ghudson
Log Message:
ticket: 6934
PAC_CLIENT_INFO principal names do not contain a realm, so parse them
with the KRB5_PRINCIPAL_PARSE_NO_REALM flag. Otherwise we'll wind up
using the default realm (and then ignoring it) which fails if one
isn't configured.
Changed Files:
U trunk/src/lib/krb5/krb/pac.c
Modified: trunk/src/lib/krb5/krb/pac.c
===================================================================
--- trunk/src/lib/krb5/krb/pac.c 2011-07-25 16:31:44 UTC (rev 25049)
+++ trunk/src/lib/krb5/krb/pac.c 2011-07-25 17:54:43 UTC (rev 25050)
@@ -451,7 +451,8 @@
if (ret != 0)
return ret;
- ret = krb5_parse_name_flags(context, pac_princname, 0, &pac_principal);
+ ret = krb5_parse_name_flags(context, pac_princname,
+ KRB5_PRINCIPAL_PARSE_NO_REALM, &pac_principal);
if (ret != 0) {
free(pac_princname);
return ret;
More information about the cvs-krb5
mailing list