r14506: Remove remaining references to a KCM credential cache type.
authorGünther Deschner <gd@samba.org>
Fri, 17 Mar 2006 10:22:13 +0000 (10:22 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:15:35 +0000 (11:15 -0500)
Guenther

source/libsmb/clikrb5.c
source/printing/nt_printing.c

index da3ef6a0e48d1df69e44d89f26b53ae8bcdc4620..4943f67b77634cdb2017f0d968e4cea683970885 100644 (file)
@@ -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;
        }
index 63f722c9b59c0fcabde0228b8e236b64158ca216..727d226e2a5a7f34e2326f17f74ea12aa1518067 100644 (file)
@@ -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);