]> 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)
committerJule Anger <janger@samba.org>
Mon, 7 Jul 2025 15:43:22 +0000 (15:43 +0000)
commit78d69a9eebe080aa2bcdf62be8360b581dd1e5f0
treef580f8d460a26ca050a0ce22e67874ab937a66e4
parentb197ce8c6f155e7d7dd3bd7a9b77172553eb78f7
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

(cherry picked from commit 2560c9b3224816ffd371a62103f65b3aca301ad5)

Autobuild-User(v4-22-test): Jule Anger <janger@samba.org>
Autobuild-Date(v4-22-test): Mon Jul  7 15:43:22 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