]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
dsgetdcname: map additional flags to nt_version.
authorGünther Deschner <gd@samba.org>
Wed, 7 May 2008 16:39:24 +0000 (18:39 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 9 May 2008 12:59:18 +0000 (14:59 +0200)
Guenther
(This used to be commit 1009123b8600e6ccebe180f4a2f87c217638fef8)

source3/libsmb/dsgetdcname.c

index 6ea60ab854f9e62621c0d2dca97e8d323aeed31b..a278c4ef508abdf5afaefc8ce72ecc365fca0061 100644 (file)
@@ -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));