summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_cache.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2010-09-21 00:18:27 -0700
committerGünther Deschner <gd@samba.org>2010-09-21 00:20:00 -0700
commitbf38287c76f90593d5a7eeb9889e12b3bea54adf (patch)
tree6267541bd408275780f183afe46243a888868c9c /source3/winbindd/winbindd_cache.c
parent2d67730dafc84f3412397604e23a9e247b6d109b (diff)
downloadsamba-bf38287c76f90593d5a7eeb9889e12b3bea54adf.tar.gz
samba-bf38287c76f90593d5a7eeb9889e12b3bea54adf.tar.bz2
samba-bf38287c76f90593d5a7eeb9889e12b3bea54adf.zip
s3-winbindd: another attempt to fix the non-ldap build.
Guenther
Diffstat (limited to 'source3/winbindd/winbindd_cache.c')
-rw-r--r--source3/winbindd/winbindd_cache.c3
1 files changed, 3 insertions, 0 deletions
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 = {