diff options
Diffstat (limited to 'source3/libsmb')
-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 98c9997575..1fd42120ee 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); |