(do_v5): call krb5_sendauth with ccache == NULL

git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@6193 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
1999-05-10 03:47:40 +00:00
parent 2a2250c2e3
commit f546bbcf16

View File

@@ -440,7 +440,6 @@ do_v5 (char *host,
int forkp) int forkp)
{ {
krb5_error_code ret; krb5_error_code ret;
krb5_ccache ccache;
krb5_auth_context auth_context = NULL; krb5_auth_context auth_context = NULL;
krb5_principal server; krb5_principal server;
int s; int s;
@@ -449,11 +448,6 @@ do_v5 (char *host,
if (s < 0) if (s < 0)
return 1; return 1;
ret = krb5_cc_default (context, &ccache);
if (ret) {
warnx ("krb5_cc_default: %s", krb5_get_err_text (context, ret));
return 1;
}
ret = krb5_sname_to_principal (context, ret = krb5_sname_to_principal (context,
host, host,
"pop", "pop",
@@ -474,7 +468,7 @@ do_v5 (char *host,
0, 0,
NULL, NULL,
NULL, NULL,
ccache, NULL,
NULL, NULL,
NULL, NULL,
NULL); NULL);