+Mon May 20 00:07:16 1996 Sam Hartman <hartmans@tertius.mit.edu>
+
+ * main.c (main): Do not force source cache open if we are going to use it as the target.
+
Sun May 19 13:41:21 1996 Sam Hartman <hartmans@mit.edu>
* main.c: Force source ccache to stay open between transactions.
exit(1);
}
- if (((retval = krb5_cc_set_flags(ksu_context, cc_source, 0x0)) != 0)
- && (retval != KRB5_FCC_NOFILE)) {
- com_err(prog_name, retval, "while opening ccache");
- exit(1);
+ if(!use_source_cache) {
+ if (((retval = krb5_cc_set_flags(ksu_context, cc_source, 0x0)) != 0)
+ && (retval != KRB5_FCC_NOFILE)) {
+ com_err(prog_name, retval, "while opening ccache");
+ exit(1);
+ }
}
-
if ((retval = get_best_princ_for_target(ksu_context, source_uid,
target_uid, source_user, target_user, cc_source,
&options, cmd, localhostname, &client, &hp))){