If name_to_fqdn fails, retry with the dns domain the DC gave us
authorVolker Lendecke <vl@sernet.de>
Mon, 6 Oct 2008 12:49:10 +0000 (14:49 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 6 Oct 2008 13:23:39 +0000 (15:23 +0200)
commitf4095b62a8030cb9d929bb113f3488f3917b8f9b
tree33342b8ddfd59cb03ea1e9e5f03af36eefa17c5c
parent6aa8613b11b596fed115849262e96524b84a8fbe
If name_to_fqdn fails, retry with the dns domain the DC gave us

This is a workaround for the cases where you want to join under a netbios name
that is different from your hostname, i.e. a name that can not be found in
/etc/hosts or dns. In these cases, name_to_fqdn fails or gives invalid results.
source3/libnet/libnet_join.c