summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2001-12-11 06:17:01 +0000
committerAndrew Tridgell <tridge@samba.org>2001-12-11 06:17:01 +0000
commitd86b7f9dc3b5c759797928e6ce1509643baca2ba (patch)
tree4bbca104157e6537d701fdff741b7a5f58084446 /source3/nsswitch
parent70095b09c3cede75fdda6f52823957fab5dd980d (diff)
downloadsamba-d86b7f9dc3b5c759797928e6ce1509643baca2ba.tar.gz
samba-d86b7f9dc3b5c759797928e6ce1509643baca2ba.tar.bz2
samba-d86b7f9dc3b5c759797928e6ce1509643baca2ba.zip
handle systems without setenv()
(This used to be commit 87090652460e57703b40f21e9ed08c18770b61c3)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/winbindd_ads.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_ads.c b/source3/nsswitch/winbindd_ads.c
index afdf6d1ff0..a3188f8a37 100644
--- a/source3/nsswitch/winbindd_ads.c
+++ b/source3/nsswitch/winbindd_ads.c
@@ -101,7 +101,7 @@ static ADS_STRUCT *ads_cached_connection(struct winbindd_domain *domain)
/* we don't want this to affect the users ccache */
ccache = lock_path("winbindd_ccache");
- setenv("KRB5CCNAME", ccache, 1);
+ SETENV("KRB5CCNAME", ccache, 1);
unlink(ccache);
ads = ads_init(NULL, NULL, NULL, NULL);