From b261f063125f8454d8f4e8f6b6f8aa5bc393ea34 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 5 May 2008 18:04:41 +0200 Subject: mailslot/cldap: use nt_version bits in queries. Guenther --- source/libsmb/dsgetdcname.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'source/libsmb') diff --git a/source/libsmb/dsgetdcname.c b/source/libsmb/dsgetdcname.c index de647ad8bf5..1bd54d80e6e 100644 --- a/source/libsmb/dsgetdcname.c +++ b/source/libsmb/dsgetdcname.c @@ -784,6 +784,9 @@ static NTSTATUS process_dc_netbios(TALLOC_CTX *mem_ctx, fstring tmp_dc_name; struct messaging_context *msg_ctx = msg_context(mem_ctx); struct nbt_ntlogon_packet *reply = NULL; + uint32_t nt_version = NETLOGON_VERSION_1 | + NETLOGON_VERSION_5 | + NETLOGON_VERSION_5EX_WITH_IP; if (flags & DS_PDC_REQUIRED) { name_type = NBT_NAME_PDC; @@ -802,7 +805,7 @@ static NTSTATUS process_dc_netbios(TALLOC_CTX *mem_ctx, if (send_getdc_request(mem_ctx, msg_ctx, &dclist[i].ss, domain_name, - NULL, 11)) + NULL, nt_version)) { int k; smb_msleep(100); -- cgit