diff options
author | Günther Deschner <gd@samba.org> | 2008-05-05 18:04:41 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-05-06 09:41:41 +0200 |
commit | b261f063125f8454d8f4e8f6b6f8aa5bc393ea34 (patch) | |
tree | 95bade290e039c510d3955c0506617c17e97f45f /source/libsmb | |
parent | ce1556d0fb993b78f02ac4cc4f8a45ab7a0b5397 (diff) | |
download | samba-b261f063125f8454d8f4e8f6b6f8aa5bc393ea34.tar.gz samba-b261f063125f8454d8f4e8f6b6f8aa5bc393ea34.tar.xz samba-b261f063125f8454d8f4e8f6b6f8aa5bc393ea34.zip |
mailslot/cldap: use nt_version bits in queries.
Guenther
Diffstat (limited to 'source/libsmb')
-rw-r--r-- | source/libsmb/dsgetdcname.c | 5 |
1 files changed, 4 insertions, 1 deletions
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); |