summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-05-07 18:39:24 +0200
committerGünther Deschner <gd@samba.org>2008-05-09 14:59:18 +0200
commit9d99ef899c8e41a751ef52dd0db875df50a36d12 (patch)
treebdf1df93dab8f1301a51907568aadebcd81b0ca9
parent0354d00ddfae53f278bd2b3480f3eaeefe84e518 (diff)
downloadsamba-9d99ef899c8e41a751ef52dd0db875df50a36d12.tar.gz
samba-9d99ef899c8e41a751ef52dd0db875df50a36d12.tar.bz2
samba-9d99ef899c8e41a751ef52dd0db875df50a36d12.zip
dsgetdcname: map additional flags to nt_version.
Guenther (This used to be commit 1009123b8600e6ccebe180f4a2f87c217638fef8)
-rw-r--r--source3/libsmb/dsgetdcname.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source3/libsmb/dsgetdcname.c b/source3/libsmb/dsgetdcname.c
index 6ea60ab854..a278c4ef50 100644
--- a/source3/libsmb/dsgetdcname.c
+++ b/source3/libsmb/dsgetdcname.c
@@ -853,6 +853,8 @@ static NTSTATUS process_dc_dns(TALLOC_CTX *mem_ctx,
NETLOGON_VERSION_5EX;
uint32_t ret_flags = 0;
+ nt_version |= map_ds_flags_to_nt_version(flags);
+
for (i=0; i<num_dcs; i++) {
DEBUG(10,("LDAP ping to %s\n", dclist[i].hostname));