summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2003-05-09 09:37:12 +0000
committerAndrew Bartlett <abartlet@samba.org>2003-05-09 09:37:12 +0000
commita4556786d28724309321a02afbf5005158440258 (patch)
treef33c7422d51872a5112f2dc177e3141bfaa6998d /source
parentc61e5e38776d2de53d120b592a6685158e79ebb8 (diff)
downloadsamba-a4556786d28724309321a02afbf5005158440258.tar.gz
samba-a4556786d28724309321a02afbf5005158440258.tar.xz
samba-a4556786d28724309321a02afbf5005158440258.zip
Elsewhere, we use a #define for this environment variable name, so do the
same here. Andrew Bartlett
Diffstat (limited to 'source')
-rw-r--r--source/printing/nt_printing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/printing/nt_printing.c b/source/printing/nt_printing.c
index 685f5ff4999..b9aed03c961 100644
--- a/source/printing/nt_printing.c
+++ b/source/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);