From d86b7f9dc3b5c759797928e6ce1509643baca2ba Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Tue, 11 Dec 2001 06:17:01 +0000 Subject: handle systems without setenv() (This used to be commit 87090652460e57703b40f21e9ed08c18770b61c3) --- source3/nsswitch/winbindd_ads.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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); -- cgit