mailslot/dsgetdcname: do what XP does and request nt_version 11.
commit1bf1c5e54f25cc37f7745f49d96bc5571ed10a4e
authorGünther Deschner <gd@samba.org>
Thu, 24 Apr 2008 19:53:55 +0000 (24 21:53 +0200)
committerKarolin Seeger <kseeger@samba.org>
Thu, 22 May 2008 18:00:56 +0000 (22 20:00 +0200)
tree61f706340c371f56aaa580290a425aa9056fea11
parentb0bd47097be782645c74753ab3d4bf80e7e97198
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
(cherry picked from commit d8b2ff3c8769e8da9c21dec483e6edb7aa2d00f3)
source/libsmb/dsgetdcname.c