summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/nss_info.h4
1 files changed, 4 insertions, 0 deletions
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 );
};