mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
f55a357c6b
Return the first IPv4 and the first IPv6 address found for each DC. This is slightly inelegant, but resolves an issue where IPv6-only systems were unable to run "net ads join" against domain controllers that have both A and AAAA records in DNS. While this impacts performance due to the additional LDAP ping attempts, in practice an attempt to connect to an IPv6 address on an IPv4-only system (or vice versa) will fail immediately with NT_STATUS_NETWORK_UNREACHABLE, and thus the performance impact should be negligible. The alternative approach, using an smb.conf setting to control whether the logic prefers a single address of one family or the other ends up being a bit awkward, as it pushes the problem onto admins and tools such as "realm join" that want to dynamically synthesize an smb.conf on the fly. BUG: https://bugzilla.samba.org/show_bug.cgi?id=15325 Signed-off-by: Nathaniel W. Turner <nturner@exagrid.com> Reviewed-by: Jeremy Allison <jra@samba.org> Reviewed-by: David Mulder <dmulder@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Thu Mar 9 19:12:15 UTC 2023 on atb-devel-224 |
||
---|---|---|
.. | ||
ABI | ||
async_smb.c | ||
auth_generic.c | ||
cli_smb2_fnum.c | ||
cli_smb2_fnum.h | ||
cliconnect.c | ||
clidfs.c | ||
clidgram.c | ||
clidgram.h | ||
clientgen.c | ||
clierror.c | ||
clifile.c | ||
clifsinfo.c | ||
clilist.c | ||
climessage.c | ||
clioplock.c | ||
cliprint.c | ||
cliquota.c | ||
clirap.c | ||
clirap.h | ||
clireadwrite.c | ||
clisecdesc.c | ||
clispnego.c | ||
clisymlink.c | ||
clitrans.c | ||
conncache.c | ||
dsgetdcname.c | ||
dsgetdcname.h | ||
errormap_wbc.c | ||
errormap_wbc.h | ||
errormap.c | ||
libsmb_cache.c | ||
libsmb_compat.c | ||
libsmb_context.c | ||
libsmb_dir.c | ||
libsmb_file.c | ||
libsmb_misc.c | ||
libsmb_path.c | ||
libsmb_printjob.c | ||
libsmb_server.c | ||
libsmb_setget.c | ||
libsmb_stat.c | ||
libsmb_thread_impl.c | ||
libsmb_thread_posix.c | ||
libsmb_xattr.c | ||
libsmb.h | ||
namecache.c | ||
namequery_dc.c | ||
namequery.c | ||
namequery.h | ||
nmblib.c | ||
nmblib.h | ||
passchange.c | ||
proto.h | ||
pylibsmb.c | ||
samlogon_cache.c | ||
samlogon_cache.h | ||
smbclient.pc.in | ||
smberr.c | ||
smbsock_connect.c | ||
trusts_util.c | ||
unexpected.c | ||
unexpected.h | ||
wscript |