From bf38287c76f90593d5a7eeb9889e12b3bea54adf Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 21 Sep 2010 00:18:27 -0700 Subject: s3-winbindd: another attempt to fix the non-ldap build. Guenther --- source3/winbindd/winbindd_cache.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3/winbindd/winbindd_cache.c') diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c index c2ce0a2713..f7ab726e49 100644 --- a/source3/winbindd/winbindd_cache.c +++ b/source3/winbindd/winbindd_cache.c @@ -4550,6 +4550,8 @@ static void wcache_save_user_pwinfo(struct winbindd_domain *domain, centry_free(centry); } +#ifdef HAVE_ADS + NTSTATUS nss_get_info_cached( struct winbindd_domain *domain, const struct dom_sid *user_sid, TALLOC_CTX *ctx, @@ -4609,6 +4611,7 @@ do_query: return nt_status; } +#endif /* the cache backend methods are exposed via this structure */ struct winbindd_methods cache_methods = { -- cgit