summaryrefslogtreecommitdiff
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
commit376b8d57eef44c630208805f4897d6fe30700c67 (patch)
tree77f3138fa3bea254e4e579ed1aac75fdbcc1c469
parentcfe8b79c779f313c45c213621f8c5fc48148fc7d (diff)
downloadsamba-376b8d57eef44c630208805f4897d6fe30700c67.tar.gz
samba-376b8d57eef44c630208805f4897d6fe30700c67.tar.bz2
samba-376b8d57eef44c630208805f4897d6fe30700c67.zip
Elsewhere, we use a #define for this environment variable name, so do the
same here. Andrew Bartlett (This used to be commit a4556786d28724309321a02afbf5005158440258)
-rw-r--r--source3/printing/nt_printing.c4
1 files 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);