]> git.ipfire.org Git - thirdparty/samba.git/commit
s3-winbindd: Fix internal winbind dsgetdcname calls w.r.t. domain name
authorGünther Deschner <gd@samba.org>
Wed, 2 Jul 2025 19:59:48 +0000 (21:59 +0200)
committerRalph Boehme <slow@samba.org>
Mon, 7 Jul 2025 10:44:37 +0000 (10:44 +0000)
commit2560c9b3224816ffd371a62103f65b3aca301ad5
treebaae306d5ef643baeba3d2094fd6a901f83e4143
parentf86a4bf6848ade2db7229d182576db3320c3ece7
s3-winbindd: Fix internal winbind dsgetdcname calls w.r.t. domain name

when winbind calls to dsgetdcname internally, make sure to
prefer the DNS domain name if we have it. Makes DNS lookups much more
likely to succeed.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15876

Guenther

Signed-off-by: Guenther Deschner <gd@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Mon Jul  7 10:44:37 UTC 2025 on atb-devel-224
source3/winbindd/wb_queryuser.c
source3/winbindd/wb_sids2xids.c
source3/winbindd/wb_xids2sids.c
source3/winbindd/winbindd_dual.c
source3/winbindd/winbindd_proto.h
source3/winbindd/winbindd_util.c