s4-libnet: use the full DNS domain for CLDAP lookups if possible
authorAndrew Tridgell <tridge@samba.org>
Sat, 27 Nov 2010 01:59:51 +0000 (12:59 +1100)
committerAndrew Tridgell <tridge@samba.org>
Sat, 27 Nov 2010 02:47:52 +0000 (03:47 +0100)
commitdbb9500448ada04094db854aa81118d95cdc687a
tree25a76d392e60b20848b93b8f9d559a8c3c926d47
parent8737baee7c8666b268bff88070ac93164d41470f
s4-libnet: use the full DNS domain for CLDAP lookups if possible

many of the internal libnet interfaces use the short domain name,
which leads to unreliable NBT lookups. If we are trying to look for
our workgroup, then look for our DNS domain instead

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>

Autobuild-User: Andrew Tridgell <tridge@samba.org>
Autobuild-Date: Sat Nov 27 03:47:52 CET 2010 on sn-devel-104
source4/libnet/libnet_lookup.c