If name_to_fqdn fails, retry with the dns domain the DC gave us
commit727a899db47ec6b87f5c8ab9d826b33d63c2b72c
authorVolker Lendecke <vl@samba.org>
Mon, 6 Oct 2008 21:10:56 +0000 (6 14:10 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 15 Oct 2008 16:04:42 +0000 (15 18:04 +0200)
treec3870d372775a3014321cf279711815f3db4c9ed
parentfeeca32d09b28bd5a731690f24e2e57df6496369
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.
(cherry picked from commit 16e9a454404a5a70985caf15d1b987fe6332d195)
source/libnet/libnet_join.c