krb5_get_name_canon_rules: fix profile location

[realms] <realm> { name_canon_rules = <strings> }

not

[libdefaults] <realm> { name_canon_rules = <strings> }

Change-Id: I770c2250333d2649f983f015de94f30740c9771d
This commit is contained in:
Jeffrey Altman
2014-02-14 22:29:52 -05:00
parent 6d57bb6a4a
commit c07aaee128

View File

@@ -1681,7 +1681,7 @@ _krb5_get_name_canon_rules(krb5_context context, krb5_name_canon_rule *rules)
if (realm) {
values = krb5_config_get_strings(context, NULL,
"libdefaults",
"realms",
realm,
"name_canon_rules", NULL);
free(realm);