From a17d276fa0164cd3f13c85a0ae02cc2a504d394d Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 17 Mar 2006 10:22:13 +0000 Subject: r14506: Remove remaining references to a KCM credential cache type. Guenther (This used to be commit aae8f8ae7a79d06c74151186f3c2470bdec5687d) --- source3/libsmb/clikrb5.c | 2 +- source3/printing/nt_printing.c | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'source3') diff --git a/source3/libsmb/clikrb5.c b/source3/libsmb/clikrb5.c index da3ef6a0e4..4943f67b77 100644 --- a/source3/libsmb/clikrb5.c +++ b/source3/libsmb/clikrb5.c @@ -426,7 +426,7 @@ static BOOL ads_cleanup_expired_creds(krb5_context context, use memory ccaches, and a FILE one probably means that we're using creds obtained outside of our exectuable */ - if (strequal(cc_type, "KCM") || strequal(cc_type, "FILE")) { + if (strequal(cc_type, "FILE")) { DEBUG(5, ("ads_cleanup_expired_creds: We do not remove creds from a %s ccache\n", cc_type)); return False; } diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index 63f722c9b5..727d226e2a 100644 --- a/source3/printing/nt_printing.c +++ b/source3/printing/nt_printing.c @@ -3125,11 +3125,7 @@ WERROR nt_printer_publish(Printer_entry *print_hnd, int snum, int action) win_rc = WERR_SERVER_UNAVAILABLE; goto done; } -#ifdef HAVE_KCM - setenv(KRB5_ENV_CCNAME, "KCM:SYSTEM", 1); -#else setenv(KRB5_ENV_CCNAME, "MEMORY:prtpub_cache", 1); -#endif SAFE_FREE(ads->auth.password); ads->auth.password = secrets_fetch_machine_password(lp_workgroup(), NULL, NULL); -- cgit