1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-11 05:18:09 +03:00
samba-mirror/source4
Stefan Metzmacher 9d80c928b0 s4:nbt_server: simulate nmbd and provide unexpected handling
This is needed in order to let nbt_getdc() work against
another AD DC and get back a modern response with
DNS based names. Instead of falling back to
the ugly name_status_find() that simulates just
an NETLOGON_SAM_LOGON_RESPONSE_NT40 response.

This way dsgetdcname() can work with just the netbios
domain name given and still return an active directory
response.

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

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
(cherry picked from commit 796f33c05a)

Autobuild-User(v4-20-test): Stefan Metzmacher <metze@samba.org>
Autobuild-Date(v4-20-test): Thu May 30 10:57:04 UTC 2024 on atb-devel-224
2024-05-30 10:57:04 +00:00
..
auth s4:auth: Clarify comment about requiring FAST armor 2023-12-21 20:21:34 +00:00
cldap_server s4:cldap_server: Add missing newline to logging message 2023-08-08 04:39:38 +00:00
client Add simple http_client for use in black box tests (in following commits) 2024-04-11 11:20:16 +00:00
cluster
dns_server s4:dns_server: less noisy, more informative debug messages 2024-04-16 11:24:15 +00:00
dsdb s4:dsdb/repl: let drepl_out_helpers.c always go via dreplsrv_out_drsuapi_send() 2024-05-30 09:47:15 +00:00
echo_server s4-echo: Remove the "echo" server (port 7, RFC 862) in production builds 2023-10-10 14:49:40 +00:00
include VERSION: move COPYRIGHT_STARTUP_MESSAGE as SAMBA_COPYRIGHT_STRING into version.h 2023-12-15 10:44:42 +00:00
kdc s4:kdc: Remove unused includes 2023-12-08 02:28:33 +00:00
ldap_server s4/ldap_backend: do_call: use modern DBG macros 2023-12-29 13:50:05 +00:00
lib pymessaging: Remove trailing whitespace 2023-12-08 02:28:33 +00:00
libcli s4:libcli/dgram: add nbt_dgram_send_raw() to send raw blobs 2024-05-30 09:47:16 +00:00
libnet Use python.h from libreplace 2023-11-20 15:37:33 +00:00
librpc smbXsrv.idl: add python bindings 2024-01-09 10:21:34 +00:00
nbt_server s4:nbt_server: simulate nmbd and provide unexpected handling 2024-05-30 10:57:04 +00:00
ntp_signd libcli/util: add struct tstream_context to tstream_read_pdu_blob_full_fn_t 2023-10-25 22:23:38 +00:00
ntvfs s4:ntvfs: Remove trailing whitespace 2023-12-08 02:28:33 +00:00
param Use python.h from libreplace 2023-11-20 15:37:33 +00:00
rpc_server s4/rpc_server: return NULL dns_name for NT4 trusts 2024-01-20 13:20:37 +00:00
samba VERSION: move COPYRIGHT_STARTUP_MESSAGE as SAMBA_COPYRIGHT_STRING into version.h 2023-12-15 10:44:42 +00:00
script s4:script: Fix shellcheck errors in find_unused_options.sh 2022-08-22 14:20:36 +00:00
scripting lib: Avoid 70k of r/w memory 2024-01-23 23:28:31 +00:00
selftest python/blackbox: add rpcd_witness_samba_only.py test 2024-01-26 17:00:33 +00:00
setup CVE-2018-14628: s4:setup: set the correct nTSecurityDescriptor on the CN=Deleted Objects container 2023-10-16 14:39:33 +00:00
smb_server util/charset: Rename utf16_len_n() to utf16_null_terminated_len_n() 2023-11-15 22:07:36 +00:00
torture s4:torture/smb2: add smb2.session.anon-{encryption{1,2,},signing{1,2}} 2024-05-30 09:47:15 +00:00
utils s4:utils: Use correct enumeration constant 2023-11-30 00:02:33 +00:00
winbind CVE-2022-32746 ldb: Make use of functions for appending to an ldb_message 2022-07-27 10:52:36 +00:00
wrepl_server libcli/util: add struct tstream_context to tstream_read_pdu_blob_full_fn_t 2023-10-25 22:23:38 +00:00
.clang_complete
.valgrind_suppressions
wscript_build Add simple http_client for use in black box tests (in following commits) 2024-04-11 11:20:16 +00:00