summaryrefslogtreecommitdiffstats
path: root/source3/printing/nt_printing.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/printing/nt_printing.c')
-rw-r--r--source3/printing/nt_printing.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index 63f722c9b59..727d226e2a5 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);