summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2006-03-17 10:22:13 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:15:35 -0500
commita17d276fa0164cd3f13c85a0ae02cc2a504d394d (patch)
tree77575755d17054005c9aad5b1ea6356fb3c425a5 /source3
parent0dd9afad767d4f47f0ffdb5a19d9badd0d53bdfa (diff)
downloadsamba-a17d276fa0164cd3f13c85a0ae02cc2a504d394d.tar.gz
samba-a17d276fa0164cd3f13c85a0ae02cc2a504d394d.tar.bz2
samba-a17d276fa0164cd3f13c85a0ae02cc2a504d394d.zip
r14506: Remove remaining references to a KCM credential cache type.
Guenther (This used to be commit aae8f8ae7a79d06c74151186f3c2470bdec5687d)
Diffstat (limited to 'source3')
-rw-r--r--source3/libsmb/clikrb5.c2
-rw-r--r--source3/printing/nt_printing.c4
2 files changed, 1 insertions, 5 deletions
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);