Restore 3.0 behaviour with empty /etc/hosts
commit4170259e5f83c281966a80916e4ece6937e08988
authorVolker Lendecke <vl@samba.org>
Fri, 29 Feb 2008 21:38:10 +0000 (29 22:38 +0100)
committerKarolin Seeger <ks@sernet.de>
Mon, 3 Mar 2008 10:40:12 +0000 (3 11:40 +0100)
tree38477a7bb241de399609ed3843f12c667c6345ff
parent575b829b390f7f07138305adc2988918eda95ce1
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