summaryrefslogtreecommitdiffstats
path: root/source3/winbindd/winbindd_proto.h
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_proto.h
parent2d67730dafc84f3412397604e23a9e247b6d109b (diff)
downloadsamba-bf38287c76f90593d5a7eeb9889e12b3bea54adf.tar.gz
samba-bf38287c76f90593d5a7eeb9889e12b3bea54adf.tar.xz
samba-bf38287c76f90593d5a7eeb9889e12b3bea54adf.zip
s3-winbindd: another attempt to fix the non-ldap build.
Guenther
Diffstat (limited to 'source3/winbindd/winbindd_proto.h')
-rw-r--r--source3/winbindd/winbindd_proto.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h
index f43c08f417..fa3cc10834 100644
--- a/source3/winbindd/winbindd_proto.h
+++ b/source3/winbindd/winbindd_proto.h
@@ -152,6 +152,7 @@ bool wcache_tdc_fetch_list( struct winbindd_tdc_domain **domains, size_t *num_do
bool wcache_tdc_add_domain( struct winbindd_domain *domain );
struct winbindd_tdc_domain * wcache_tdc_fetch_domain( TALLOC_CTX *ctx, const char *name );
void wcache_tdc_clear( void );
+#ifdef HAVE_ADS
struct ads_struct;
NTSTATUS nss_get_info_cached( struct winbindd_domain *domain,
const struct dom_sid *user_sid,
@@ -159,6 +160,7 @@ NTSTATUS nss_get_info_cached( struct winbindd_domain *domain,
struct ads_struct *ads, LDAPMessage *msg,
const char **homedir, const char **shell,
const char **gecos, gid_t *p_gid);
+#endif
bool wcache_store_seqnum(const char *domain_name, uint32_t seqnum,
time_t last_seq_check);
bool wcache_fetch_ndr(TALLOC_CTX *mem_ctx, struct winbindd_domain *domain,