If name_to_fqdn fails, retry with the dns domain the DC gave us
commit16e9a454404a5a70985caf15d1b987fe6332d195
authorVolker Lendecke <vl@samba.org>
Mon, 6 Oct 2008 21:10:56 +0000 (6 14:10 -0700)
committerJeremy Allison <jra@samba.org>
Mon, 6 Oct 2008 21:10:56 +0000 (6 14:10 -0700)
tree54cce1ebdd158159fd2601e0666c5d6f87236083
parent8d82a75ec9875137928c69370bbaf621bf4fc3fb
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.
source/libnet/libnet_join.c