svn rev #21587: branches/mskrb-integ/src/clients/kinit/
lhoward@MIT.EDU
lhoward at MIT.EDU
Wed Dec 24 02:45:19 EST 2008
http://src.mit.edu/fisheye/changelog/krb5/?cs=21587
Commit By: lhoward
Log Message:
Set client principal name correctly with canonicalization
Changed Files:
U branches/mskrb-integ/src/clients/kinit/kinit.c
Modified: branches/mskrb-integ/src/clients/kinit/kinit.c
===================================================================
--- branches/mskrb-integ/src/clients/kinit/kinit.c 2008-12-24 05:57:41 UTC (rev 21586)
+++ branches/mskrb-integ/src/clients/kinit/kinit.c 2008-12-24 07:45:18 UTC (rev 21587)
@@ -655,7 +655,8 @@
goto cleanup;
}
- code = krb5_cc_initialize(k5->ctx, k5->cc, k5->me);
+ code = krb5_cc_initialize(k5->ctx, k5->cc,
+ opts->canonicalize ? my_creds.client : k5->me);
if (code) {
com_err(progname, code, "when initializing cache %s",
opts->k5_cache_name?opts->k5_cache_name:"");
More information about the cvs-krb5
mailing list