Deferred hostname canon using name canon rules

This commit is contained in:
Nicolas Williams
2011-10-15 19:29:54 -05:00
parent 587cf45846
commit a5e77c578e
9 changed files with 1220 additions and 141 deletions

View File

@@ -293,6 +293,7 @@ change (krb5_auth_context auth_context,
if (chpw.targname) {
krb5_principal_data princ;
memset(&princ, 0, sizeof (princ));
princ.name = *chpw.targname;
princ.realm = *chpw.targrealm;
if (princ.realm == NULL) {