diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-12-11 06:17:01 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-12-11 06:17:01 +0000 |
commit | d86b7f9dc3b5c759797928e6ce1509643baca2ba (patch) | |
tree | 4bbca104157e6537d701fdff741b7a5f58084446 | |
parent | 70095b09c3cede75fdda6f52823957fab5dd980d (diff) | |
download | samba-d86b7f9dc3b5c759797928e6ce1509643baca2ba.tar.gz samba-d86b7f9dc3b5c759797928e6ce1509643baca2ba.tar.bz2 samba-d86b7f9dc3b5c759797928e6ce1509643baca2ba.zip |
handle systems without setenv()
(This used to be commit 87090652460e57703b40f21e9ed08c18770b61c3)
-rw-r--r-- | source3/nsswitch/winbindd_ads.c | 2 |
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); |