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)
commit051ff45c6041accdf4f74d33db16158a3aa95a4c
tree6d0108d1e63b2af575931a7bce81e639754f8076
parentb77601a4b7c9d0f472eb51dad1d491d54a6dcbdc
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
(This used to be commit d8b2ff3c8769e8da9c21dec483e6edb7aa2d00f3)
source3/libsmb/dsgetdcname.c