summaryrefslogtreecommitdiff
path: root/source3/winbindd/idmap_adex
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-09-24 02:44:34 +0200
committerGünther Deschner <gd@samba.org>2008-09-24 03:34:24 +0200
commit04979bcfb4f9575afc5bec58a53e840479ee3012 (patch)
tree4bd4bd707d0137d76084bae2259b499a09881ad0 /source3/winbindd/idmap_adex
parent3ee016be9cb6d8d13efcf24fae5d5f0f314379c8 (diff)
downloadsamba-04979bcfb4f9575afc5bec58a53e840479ee3012.tar.gz
samba-04979bcfb4f9575afc5bec58a53e840479ee3012.tar.bz2
samba-04979bcfb4f9575afc5bec58a53e840479ee3012.zip
s3: fix idmap_adex.
Guenther
Diffstat (limited to 'source3/winbindd/idmap_adex')
-rw-r--r--source3/winbindd/idmap_adex/gc_util.c2
-rw-r--r--source3/winbindd/idmap_adex/idmap_adex.c2
-rw-r--r--source3/winbindd/idmap_adex/idmap_adex.h2
3 files changed, 3 insertions, 3 deletions
diff --git a/source3/winbindd/idmap_adex/gc_util.c b/source3/winbindd/idmap_adex/gc_util.c
index 87dd3c058d..6dc02336d5 100644
--- a/source3/winbindd/idmap_adex/gc_util.c
+++ b/source3/winbindd/idmap_adex/gc_util.c
@@ -101,7 +101,7 @@ done:
ADS_STRUCT *ads = NULL;
ADS_STATUS ads_status;
NTSTATUS nt_status = NT_STATUS_UNSUCCESSFUL;
- struct nbt_cldap_netlogon_5 cldap_reply;
+ struct NETLOGON_SAM_LOGON_RESPONSE_EX cldap_reply;
TALLOC_CTX *frame = talloc_stackframe();
if (!gc || !domain) {
diff --git a/source3/winbindd/idmap_adex/idmap_adex.c b/source3/winbindd/idmap_adex/idmap_adex.c
index 23ab843e95..7596b1cbd8 100644
--- a/source3/winbindd/idmap_adex/idmap_adex.c
+++ b/source3/winbindd/idmap_adex/idmap_adex.c
@@ -454,7 +454,7 @@ NTSTATUS idmap_adex_init(void)
return NT_STATUS_OK;
}
-NTSTATUS nss_info_adex_init(void)
+static NTSTATUS nss_info_adex_init(void)
{
return idmap_adex_init();
}
diff --git a/source3/winbindd/idmap_adex/idmap_adex.h b/source3/winbindd/idmap_adex/idmap_adex.h
index f91bba8d07..e068d5c340 100644
--- a/source3/winbindd/idmap_adex/idmap_adex.h
+++ b/source3/winbindd/idmap_adex/idmap_adex.h
@@ -167,7 +167,7 @@ struct likewise_cell *cell_list_head(void);
bool cell_list_add(struct likewise_cell *cell);
bool cell_list_remove(struct likewise_cell * cell);
-void cell_list_destroy();
+void cell_list_destroy(void);
void cell_destroy(struct likewise_cell *c);
void cell_set_forest_searches(struct likewise_cell *c,
bool search);