From: Chris Provenzano Date: Sat, 28 Jan 1995 20:03:12 +0000 (+0000) Subject: Use new API for krb5_kt_get_entry X-Git-Tag: krb5-1.0-beta5~793 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=bf4dd867e1dc2ce47181d9c32ab7b01a0ae445c5;p=krb5.git Use new API for krb5_kt_get_entry git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4862 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/clients/kinit/ChangeLog b/src/clients/kinit/ChangeLog index 02a935cbb..7ae9f2fbd 100644 --- a/src/clients/kinit/ChangeLog +++ b/src/clients/kinit/ChangeLog @@ -1,3 +1,7 @@ +Sat Jan 28 14:45:55 1995 Chris Provenzano (proven@mit.edu) + + * kinit.c (main()) use new API for krb5_kt_get_entry. + Fri Jan 13 15:23:47 1995 Chris Provenzano (proven@mit.edu) * Added krb5_context to all krb5_routines diff --git a/src/clients/kinit/kinit.c b/src/clients/kinit/kinit.c index bf298033a..50ed615a4 100644 --- a/src/clients/kinit/kinit.c +++ b/src/clients/kinit/kinit.c @@ -294,8 +294,14 @@ main(argc, argv) } memset(password, 0, sizeof(password)); } else { - if (keytab != NULL) { + /* + * krb5_get_in_tkt_with_skey is getting a face lift so for now + * I just put 0 as the default keytype for krb5_kt_get_entry() + * --- proven + */ + if (keytab != NULL) { code = krb5_kt_get_entry(kcontext, keytab, my_creds.client, 0, + 0, /* keytype arg, default for now */ &kt_ent); if (code) { com_err(argv[0], code, "reading keytab entry %s",