summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2007-01-24 02:36:40 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:24 -0500
commit1ce7cc19185646fcea3db670ca0b22145760da79 (patch)
tree0cc0734d5d09c9ee5b102cbf757bfedb0ff4bbb7 /source3
parentb9b26be1744b792a54f0a77af140237b4dc5a870 (diff)
downloadsamba-1ce7cc19185646fcea3db670ca0b22145760da79.tar.gz
samba-1ce7cc19185646fcea3db670ca0b22145760da79.tar.bz2
samba-1ce7cc19185646fcea3db670ca0b22145760da79.zip
r20987: fix build farm breakage when ADS support is not present (caused by nss_info_methods API)
(This used to be commit 4982be312151c4d9b97f06afe88c30d8065be4be)
Diffstat (limited to 'source3')
-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 );
};