]> git.ipfire.org Git - thirdparty/samba.git/commit
s3:winbindd: let connect_preferred_dc() pass the dcname to smbsock_connect()
authorStefan Metzmacher <metze@samba.org>
Fri, 27 Sep 2024 08:50:55 +0000 (10:50 +0200)
committerStefan Metzmacher <metze@samba.org>
Tue, 1 Oct 2024 09:53:32 +0000 (09:53 +0000)
commitba24faaf913cf21751485b9291d75f1ddf5519f7
treeba0d141655d263286e83382dab89cec180ce2114
parent56fc50b0aa91cccbb356ab82c695e8dfa9788f9f
s3:winbindd: let connect_preferred_dc() pass the dcname to smbsock_connect()

The is not critical, but avoids using the ip address with
fallback to '*SMBSERVER' for connections to port 139.

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