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 | 87090652460e57703b40f21e9ed08c18770b61c3 (patch) | |
tree | ab390a0b1afd59d2acbcb5012fa73a8c1d151f98 | |
parent | a181f49b4269baa1752ce6ed4f9093e38d2d3ce5 (diff) | |
download | samba-87090652460e57703b40f21e9ed08c18770b61c3.tar.gz samba-87090652460e57703b40f21e9ed08c18770b61c3.tar.xz samba-87090652460e57703b40f21e9ed08c18770b61c3.zip |
handle systems without setenv()
-rw-r--r-- | source/nsswitch/winbindd_ads.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/nsswitch/winbindd_ads.c b/source/nsswitch/winbindd_ads.c index afdf6d1ff09..a3188f8a37e 100644 --- a/source/nsswitch/winbindd_ads.c +++ b/source/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); |