Restore 3.0 behaviour with empty /etc/hosts
commit2bd3b7d474768f842921945d283eac10da2a1684
authorVolker Lendecke <vl@samba.org>
Fri, 29 Feb 2008 21:38:10 +0000 (29 22:38 +0100)
committerVolker Lendecke <vl@samba.org>
Fri, 29 Feb 2008 21:39:45 +0000 (29 22:39 +0100)
treedaf2d31363507bd7c3b6c325948053097e970e33
parentf2c67803792f1fd3929e922c1f626f8247e08992
Restore 3.0 behaviour with empty /etc/hosts

Jeremy, in 3.0 we allowed get_mydnsdomname and get_mydnsfullname to fail
without filling in anything useful. Worked fine. Without this patch and a empty
/etc/hosts and no DNS configured, session setup would return
NT_STATUS_BAD_NETWORK_NAME. This is confusing at best, BAD_NETWORK_NAME afaik
is only ever returned from tcon normally.

This restores the 3.0 behaviour.

Comments?

Volker
source/libsmb/ntlmssp.c