summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEzra Peisach <epeisach@mit.edu>1996-01-20 04:21:38 +0000
committerEzra Peisach <epeisach@mit.edu>1996-01-20 04:21:38 +0000
commit4136fd0f9e14dc2197ff8c44a2294e3c64834388 (patch)
tree2c4aa28006c76fca2b7acb7dd3b6b5e66b3bb97e /src
parent5a127cc1982ed49a9eeb20b559ce8cb285ce7b69 (diff)
downloadkrb5-4136fd0f9e14dc2197ff8c44a2294e3c64834388.tar.gz
krb5-4136fd0f9e14dc2197ff8c44a2294e3c64834388.tar.xz
krb5-4136fd0f9e14dc2197ff8c44a2294e3c64834388.zip
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
Diffstat (limited to 'src')
-rw-r--r--src/mac/telnet-k5-auth/ChangeLog5
-rw-r--r--src/mac/telnet-k5-auth/krb5auth.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/src/mac/telnet-k5-auth/ChangeLog b/src/mac/telnet-k5-auth/ChangeLog
index fdd62e6c48..1264c776e2 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 <epeisach@kangaroo.mit.edu>
+
+ * 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 <jrivlin@fusion.com>
* 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 81c386bf6e..b543745e6d 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);