If name_to_fqdn fails, retry with the dns domain the DC gave us
commit82a086fb6f70dd6b725e4976293bc377a6a90f3a
authorVolker Lendecke <vl@samba.org>
Mon, 6 Oct 2008 21:10:23 +0000 (6 14:10 -0700)
committerKarolin Seeger <kseeger@samba.org>
Wed, 15 Oct 2008 16:48:18 +0000 (15 18:48 +0200)
tree6b051e9fee02c59e0d2b113d41169dd811f3aba2
parentb1bcaf45ce14108b7e2b429b96908e30bf6eb90d
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 84951b54bc1473aa9275c02cc37a9f0d7d4150e2)
source/libnet/libnet_join.c