From 376b8d57eef44c630208805f4897d6fe30700c67 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Fri, 9 May 2003 09:37:12 +0000 Subject: Elsewhere, we use a #define for this environment variable name, so do the same here. Andrew Bartlett (This used to be commit a4556786d28724309321a02afbf5005158440258) --- source3/printing/nt_printing.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c index 685f5ff499..b9aed03c96 100644 --- a/source3/printing/nt_printing.c +++ b/source3/printing/nt_printing.c @@ -2607,7 +2607,7 @@ static WERROR publish_it(NT_PRINTER_INFO_LEVEL *printer) DEBUG(3, ("ads_init() failed\n")); return WERR_SERVER_UNAVAILABLE; } - setenv("KRB5CCNAME", "MEMORY:prtpub_cache", 1); + setenv(KRB5_ENV_CCNAME, "MEMORY:prtpub_cache", 1); SAFE_FREE(ads->auth.password); ads->auth.password = secrets_fetch_machine_password(lp_workgroup(), NULL, NULL); @@ -2668,7 +2668,7 @@ WERROR unpublish_it(NT_PRINTER_INFO_LEVEL *printer) DEBUG(3, ("ads_init() failed\n")); return WERR_SERVER_UNAVAILABLE; } - setenv("KRB5CCNAME", "MEMORY:prtpub_cache", 1); + setenv(KRB5_ENV_CCNAME, "MEMORY:prtpub_cache", 1); SAFE_FREE(ads->auth.password); ads->auth.password = secrets_fetch_machine_password(lp_workgroup(), NULL, NULL); -- cgit