]> git.ipfire.org Git - thirdparty/samba.git/commit
s3:libsmb: let discover_dc_netbios() return DOMAIN_CONTROLLER_NOT_FOUND
authorStefan Metzmacher <metze@samba.org>
Fri, 11 Oct 2024 13:32:22 +0000 (13:32 +0000)
committerStefan Metzmacher <metze@samba.org>
Thu, 5 Dec 2024 16:46:37 +0000 (16:46 +0000)
commite47ce1d10b13d8ef165c70984e6e490f4c2a64c2
tree5a84084584c297a4f9cb1681b1a5b328671b292f
parented6a9ccef611897e9c997ca4a1897615fe4fd29a
s3:libsmb: let discover_dc_netbios() return DOMAIN_CONTROLLER_NOT_FOUND

We may get NT_STATUS_NOT_FOUND when the name can't be resolved
and NT_STATUS_INVALID_ADDRESS if the system doesn't have ipv4
addresses...

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/libsmb/dsgetdcname.c