diff options
author | Günther Deschner <gd@samba.org> | 2008-05-07 15:49:09 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-05-09 14:59:18 +0200 |
commit | cdd9913c4a7d254ab3ef677737493f9f540272c7 (patch) | |
tree | 84e6429b832a97ede685aa273042200d6c5fb4fb /source3/libsmb/dsgetdcname.c | |
parent | 64cb9461fb60d293db70d24369227d7482b2fd2b (diff) | |
download | samba-cdd9913c4a7d254ab3ef677737493f9f540272c7.tar.gz samba-cdd9913c4a7d254ab3ef677737493f9f540272c7.tar.xz samba-cdd9913c4a7d254ab3ef677737493f9f540272c7.zip |
cldap: let ads_cldap_netlogon() return all possible cldap replies.
Guenther
(This used to be commit 6f9d5e1cc94bc90685b54c04622b8f3357bd2f69)
Diffstat (limited to 'source3/libsmb/dsgetdcname.c')
-rw-r--r-- | source3/libsmb/dsgetdcname.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c index 98c9997575d..1fd42120ee3 100644 --- a/source3/libsmb/dsgetdcname.c +++ b/source3/libsmb/dsgetdcname.c @@ -196,15 +196,13 @@ static NTSTATUS dsgetdcname_cache_refresh(TALLOC_CTX *mem_ctx, const char *site_name, struct netr_DsRGetDCNameInfo *info) { - struct nbt_cldap_netlogon_5 r; + uint32_t nt_version = NETLOGON_VERSION_1; /* check if matching entry is older then 15 minutes, if yes, send * CLDAP/MAILSLOT ping again and store the cached data */ - ZERO_STRUCT(r); - if (ads_cldap_netlogon(mem_ctx, info->dc_unc, - info->domain_name, &r)) { + info->domain_name, &nt_version, NULL)) { dsgetdcname_cache_delete(mem_ctx, domain_name); |