From 4136fd0f9e14dc2197ff8c44a2294e3c64834388 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Sat, 20 Jan 1996 04:21:38 +0000 Subject: [PATCH] krb5_get_credentials does not take the same flags as kdc_options. Set to 0. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@7345 dc483132-0cff-0310-8789-dd5450dbe970 --- src/mac/telnet-k5-auth/ChangeLog | 5 +++++ src/mac/telnet-k5-auth/krb5auth.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/mac/telnet-k5-auth/ChangeLog b/src/mac/telnet-k5-auth/ChangeLog index fdd62e6c4..1264c776e 100644 --- a/src/mac/telnet-k5-auth/ChangeLog +++ b/src/mac/telnet-k5-auth/ChangeLog @@ -1,3 +1,8 @@ +Fri Jan 19 23:20:51 1996 Ezra Peisach + + * krb5auth.c (k5_auth_send): krb5_get_credentials does not take + the same flags as kdc_options. + Wed Sep 27 12:00:00 1995 John Rivlin * Directory created with NCSA Telnet Kerberos Authentication diff --git a/src/mac/telnet-k5-auth/krb5auth.c b/src/mac/telnet-k5-auth/krb5auth.c index 81c386bf6..b543745e6 100644 --- a/src/mac/telnet-k5-auth/krb5auth.c +++ b/src/mac/telnet-k5-auth/krb5auth.c @@ -182,7 +182,7 @@ k5_auth_send (int how, char *szHostName, char *szUserName, krb5_data *auth) } - if (r = krb5_get_credentials(k5_context, KDC_OPT_RENEWABLE_OK, + if (r = krb5_get_credentials(k5_context, 0, ccache, &cred, &new_cred)) { com_err (NULL, r, "while authorizing."); krb5_free_cred_contents(k5_context, &cred); -- 2.26.2