fixed two problems with the DsRGetDCNameEx2 call, as used by
authorAndrew Tridgell <tridge@samba.org>
Tue, 10 Feb 2009 06:28:05 +0000 (17:28 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 10 Feb 2009 06:28:05 +0000 (17:28 +1100)
commit72c2da9d327288552084efad831ef8c3518de835
tree414075dae6079a94ec4fe97d662c5a2396615819
parentb4a4d4c9d06c93188d9705f944cde8ed359bd3f3
fixed two problems with the DsRGetDCNameEx2 call, as used by
Win7-beta.

The first problem is that we removed the dnsDomain attribute a while
back, so we were returning NULL for two fields. We now return the
realm.

The second problem is that Win7-beta sends the domain in the form the
user typed it, so it may be in either the short or long form. We check
for the short form and convert if needed.
source4/rpc_server/netlogon/dcerpc_netlogon.c