diff options
author | Andrew Tridgell <tridge@samba.org> | 2001-12-10 00:39:01 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2001-12-10 00:39:01 +0000 |
commit | e051c2c430f706835f250b10cc63e5621054b5ec (patch) | |
tree | e35e8844027bdacd71b926cf448e25ea5d21e28c /source3/nsswitch/winbindd_cache.c | |
parent | 4ad81e7714bac620ae8c5a3a341548523c7ceada (diff) | |
download | samba-e051c2c430f706835f250b10cc63e5621054b5ec.tar.gz samba-e051c2c430f706835f250b10cc63e5621054b5ec.tar.xz samba-e051c2c430f706835f250b10cc63e5621054b5ec.zip |
make sid_binstring available without HAVE_ADS
(This used to be commit 4a6d29768665f71b72cf48ee34ee9a9c451232f6)
Diffstat (limited to 'source3/nsswitch/winbindd_cache.c')
-rw-r--r-- | source3/nsswitch/winbindd_cache.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_cache.c b/source3/nsswitch/winbindd_cache.c index e78410e3a5..912ac162b5 100644 --- a/source3/nsswitch/winbindd_cache.c +++ b/source3/nsswitch/winbindd_cache.c @@ -36,6 +36,7 @@ struct cache_entry { static struct winbind_cache *wcache; +/* flush the cache */ void wcache_flush_cache(void) { extern BOOL opt_nocache; @@ -500,7 +501,7 @@ static NTSTATUS sid_to_name(struct winbindd_domain *domain, if (!cache->tdb) goto do_query; - sidstr = ads_sid_binstring(sid); + sidstr = sid_binstring(sid); centry = wcache_fetch(cache, domain, "SIDTONAME/%s/%s", domain->name, sidstr); if (!centry) goto do_query; |