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 | 1f6065765c148251488acd068fdea98717f7233f (patch) | |
tree | 4a2e7600c23cc557b23f5abd712a9bba011e41ec /source3/winbindd | |
parent | 5c02872a10c3f650c31ec7ce78fa6732d6646961 (diff) | |
download | samba-1f6065765c148251488acd068fdea98717f7233f.tar.gz samba-1f6065765c148251488acd068fdea98717f7233f.tar.xz samba-1f6065765c148251488acd068fdea98717f7233f.zip |
mailslot/cldap: use nt_version bits in queries.
Guenther
(This used to be commit b261f063125f8454d8f4e8f6b6f8aa5bc393ea34)
Diffstat (limited to 'source3/winbindd')
-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); |