mailslot/dsgetdcname: do what XP does and request nt_version 11.
authorGünther Deschner <gd@samba.org>
Thu, 24 Apr 2008 19:53:55 +0000 (21:53 +0200)
committerGünther Deschner <gd@samba.org>
Thu, 24 Apr 2008 20:01:52 +0000 (22:01 +0200)
commitd8b2ff3c8769e8da9c21dec483e6edb7aa2d00f3
treecc7918a889f1eebb97e501d3e7ed01114ef11656
parent2b178dcae608ecc05f62593a7a0c2a127b8b7ca2
mailslot/dsgetdcname: do what XP does and request nt_version 11.

This allows dsgetdcname to query for a flat, non-dns domain name and
come back with all information about the DC (site names, guid, forest,
etc.) based on a mailslot reply. The version 11 request is downgraded
to version 1 in case we do a query against NT4.

Guenther
source/libsmb/dsgetdcname.c