s3: fix idmap_adex.
authorGünther Deschner <gd@samba.org>
Wed, 24 Sep 2008 00:44:34 +0000 (02:44 +0200)
committerGünther Deschner <gd@samba.org>
Wed, 24 Sep 2008 01:34:24 +0000 (03:34 +0200)
Guenther

source3/winbindd/idmap_adex/gc_util.c
source3/winbindd/idmap_adex/idmap_adex.c
source3/winbindd/idmap_adex/idmap_adex.h

index 87dd3c058d336cd2006866fbef3f319edd31c4a1..6dc02336d5d6b290f5d24002cdcb3e06a4933713 100644 (file)
@@ -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) {
index 23ab843e95d89470e74e1691edce22783ac78c3f..7596b1cbd8371c018e4614a53f09e3d61cdf83ba 100644 (file)
@@ -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();
 }
index f91bba8d07ef798783efba4cf320b0423af65c62..e068d5c3403b972a14f1df05922eca9181605db4 100644 (file)
@@ -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);