From 1ce7cc19185646fcea3db670ca0b22145760da79 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Wed, 24 Jan 2007 02:36:40 +0000 Subject: r20987: fix build farm breakage when ADS support is not present (caused by nss_info_methods API) (This used to be commit 4982be312151c4d9b97f06afe88c30d8065be4be) --- source3/include/nss_info.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/include') diff --git a/source3/include/nss_info.h b/source3/include/nss_info.h index f442bf0db5..6f93c2ce81 100644 --- a/source3/include/nss_info.h +++ b/source3/include/nss_info.h @@ -60,7 +60,11 @@ struct nss_info_methods { NTSTATUS (*get_nss_info)( struct nss_domain_entry *e, const DOM_SID *sid, TALLOC_CTX *ctx, +#ifdef WITH_ADS ADS_STRUCT *ads, LDAPMessage *msg, +#else + void *ads, void *msg, +#endif char **homedir, char **shell, char **gecos, gid_t *p_gid); NTSTATUS (*close_fn)( void ); }; -- cgit