From: Ezra Peisach Date: Sat, 20 Jan 1996 04:21:38 +0000 (+0000) Subject: krb5_get_credentials does not take the same flags as kdc_options. Set to X-Git-Tag: krb5-1.0-beta6~603 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4136fd0f9e14dc2197ff8c44a2294e3c64834388;p=krb5.git 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 --- 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);