From bf4dd867e1dc2ce47181d9c32ab7b01a0ae445c5 Mon Sep 17 00:00:00 2001 From: Chris Provenzano Date: Sat, 28 Jan 1995 20:03:12 +0000 Subject: [PATCH] Use new API for krb5_kt_get_entry git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4862 dc483132-0cff-0310-8789-dd5450dbe970 --- src/clients/kinit/ChangeLog | 4 ++++ src/clients/kinit/kinit.c | 8 +++++++- 2 files changed, 11 insertions(+), 1 deletion(-) 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", -- 2.26.2