lib: Lift lp_disable_netbios one level
authorVolker Lendecke <vl@samba.org>
Sat, 5 Dec 2015 12:49:55 +0000 (13:49 +0100)
committerJeremy Allison <jra@samba.org>
Tue, 8 Dec 2015 22:01:27 +0000 (23:01 +0100)
commit9bc3f482981c30c62ba8ceb1c66f25685fcfefd9
treef1f70a288bd7d84b9aaa27f74e34cb20e834cbaf
parent7e5b4cd0974fd075bc8cbb408d73336ea7031c7d
lib: Lift lp_disable_netbios one level

This should fix an error code when neither DS_IS_FLAT_NAME nor
DS_IS_DNS_NAME are specified. If netbios is disabled and the DC
can't be found via DNS we should not return NOT_SUPPORTED but
DOMAIN_CONTROLLER_NOT_FOUND.

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/libsmb/dsgetdcname.c