From 5a127cc1982ed49a9eeb20b559ce8cb285ce7b69 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Sat, 20 Jan 1996 04:20:00 +0000 Subject: [PATCH] krb5_get_credentials does not take kdc_options flags git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7344 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/ChangeLog | 8 ++++++++ src/lib/krb5/krb/mk_req.c | 2 +- src/lib/krb5/krb/sendauth.c | 5 +---- 3 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index 507d44795..8c33c8d94 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,11 @@ +Fri Jan 19 23:16:17 1996 Ezra Peisach + + * mk_req.c (krb5_mk_req): krb5_get_credentials does not take + default_kdc_options. + + * sendauth.c (krb5_sendauth): krb5_get_credentials does not take + default_kdc_options. + Wed Jan 10 21:01:36 1996 Theodore Y. Ts'o * init_ctx.c (krb5_init_context): Added checking of profile for diff --git a/src/lib/krb5/krb/mk_req.c b/src/lib/krb5/krb/mk_req.c index 8a1e3849b..e793b9592 100644 --- a/src/lib/krb5/krb/mk_req.c +++ b/src/lib/krb5/krb/mk_req.c @@ -76,7 +76,7 @@ krb5_mk_req(context, auth_context, ap_req_options, service, hostname, in_data, if ((retval = krb5_cc_get_principal(context, ccache, &creds.client))) goto cleanup_creds; - if ((retval = krb5_get_credentials(context, context->kdc_default_options, + if ((retval = krb5_get_credentials(context, 0, ccache, &creds, &credsp))) goto cleanup_creds; diff --git a/src/lib/krb5/krb/sendauth.c b/src/lib/krb5/krb/sendauth.c index 45393d457..3ec5b34f8 100644 --- a/src/lib/krb5/krb/sendauth.c +++ b/src/lib/krb5/krb/sendauth.c @@ -33,8 +33,6 @@ #include #include -#define WORKING_RCACHE - static char *sendauth_version = "KRB5_SENDAUTH_V1.0"; krb5_error_code @@ -140,8 +138,7 @@ krb5_sendauth(context, auth_context, in_creds = &creds; } if (!in_creds->ticket.length) { - if ((retval = krb5_get_credentials(context, - context->kdc_default_options, + if ((retval = krb5_get_credentials(context, 0, use_ccache, in_creds, &credsp))) goto error_return; credspout = credsp; -- 2.26.2