diff options
Diffstat (limited to 'source3/winbindd/winbindd_cm.c')
-rw-r--r-- | source3/winbindd/winbindd_cm.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c index d27f3e47f5..80f6bfaab3 100644 --- a/source3/winbindd/winbindd_cm.c +++ b/source3/winbindd/winbindd_cm.c @@ -1030,6 +1030,7 @@ static bool dcip_to_name(TALLOC_CTX *mem_ctx, fstring name ) { struct ip_service ip_list; + uint32_t nt_version = NETLOGON_VERSION_1; ip_list.ss = *pss; ip_list.port = 0; @@ -1093,7 +1094,8 @@ static bool dcip_to_name(TALLOC_CTX *mem_ctx, /* try GETDC requests next */ if (send_getdc_request(mem_ctx, winbind_messaging_context(), - pss, domain->name, &domain->sid, 1)) { + pss, domain->name, &domain->sid, + nt_version)) { const char *dc_name = NULL; int i; smb_msleep(100); |