continue even we have no v5 ccache.

make showing your krb4 tickets the default (if build with krb4
support)


git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8297 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
Assar Westerlund
2000-05-28 05:31:37 +00:00
parent 89b8ffbd05
commit 60ada09b01

View File

@@ -483,11 +483,10 @@ display_v5_ccache (const char *cred_cache, int do_test, int do_verbose)
ret = krb5_cc_get_principal (context, ccache, &principal);
if (ret) {
if(ret == ENOENT) {
if (do_test)
return 1;
else
krb5_errx(context, 1, "No ticket file: %s",
if (!do_test)
krb5_warnx(context, "No ticket file: %s",
krb5_cc_get_name(context, ccache));
return 1;
} else
krb5_err (context, 1, ret, "krb5_cc_get_principal");
}
@@ -510,7 +509,7 @@ static int help_flag = 0;
static int do_verbose = 0;
static int do_test = 0;
#ifdef KRB4
static int do_v4 = 0;
static int do_v4 = 1;
static int do_tokens = 0;
#endif
static int do_v5 = 1;