Restore 3.0 behaviour with empty /etc/hosts
authorVolker Lendecke <vl@samba.org>
Fri, 29 Feb 2008 21:38:10 +0000 (22:38 +0100)
committerVolker Lendecke <vl@samba.org>
Fri, 29 Feb 2008 21:39:45 +0000 (22:39 +0100)
commit5e0d86c4076f9b04a2c79ab47b497924248050aa
treed48947093562ff0cbb0900eac26689eb92367d2b
parent45615d62838123bdf620a9c409d9868d47977800
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
(This used to be commit 2bd3b7d474768f842921945d283eac10da2a1684)
source3/libsmb/ntlmssp.c