1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source3/lib
Volker Lendecke ccaf661f7c tldap: Receiving "msgid == 0" means the connection is dead
We never use msgid=0, see tldap_next_msgid(). RFC4511 section 4.4.1
says that the unsolicited disconnect response uses msgid 0. We don't
parse this message, which supposedly is an extended response: Windows
up to 2019 sends an extended response in an ASN.1 encoding that does
not match RFC4511.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14465

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>

Autobuild-User(master): Volker Lendecke <vl@samba.org>
Autobuild-Date(master): Fri Aug 21 20:37:25 UTC 2020 on sn-devel-184
2020-08-21 20:37:24 +00:00
..
ABI Decouple ldap-ssl-ads from ldap-ssl option 2020-07-13 10:41:37 +00:00
dbwrap s3:dbwrap_watch: avoid recursion into dbwrap_do_locked() from dbwrap_watched_do_locked_{storev,delete}() 2020-07-08 11:02:39 +00:00
eventlog lib: Use dom_sid_str_buf 2018-12-11 00:40:30 +01:00
netapi s3:libsmb: pass dest_ss to cli_cm_open() 2020-02-26 19:45:36 +00:00
smbconf s3/lib/smbconf: clang: 'Value stored during its initialization is never read' 2019-07-17 00:07:48 +00:00
addrchange.c s3/lib: clang: 'Value stored to 'rta' is never read' 2019-07-16 22:52:25 +00:00
addrchange.h
adouble.c s3:lib: Make sure that have_rsrc is initialized 2020-06-16 10:30:16 +00:00
adouble.h s3: lib: adouble: Add struct files_struct *dirfsp parameter to ad_convert(). 2019-09-26 17:20:50 +00:00
adt_tree.c
audit.c s3:lib: Use C99 initializer for audit_category_tab 2019-01-28 10:29:23 +01:00
avahi.c
background.c
background.h
cbuf.c lib: Remove an #include "includes.h" 2018-07-24 20:36:49 +02:00
cbuf.h Fix spelling s/formated/formatted/ 2018-05-12 02:09:26 +02:00
charcnv.c s3:lib:charcnv: Remove use of global global_iconv_handle 2017-04-18 11:47:17 +02:00
cleanupdb.c lib: Pass mem_ctx to lock_path() 2018-08-17 11:30:10 +02:00
cleanupdb.h
cluster_support.c
cluster_support.h
cmdline_contexts.c s3: Rename server_messaging_context() to global_messaging_context() 2018-09-07 17:26:17 +02:00
cmdline_contexts.h s3:lib: Introduce cmdline context wrapper 2018-09-07 17:26:14 +02:00
ctdb_dummy.c s3:ctdbd_conn: add ctdbd_control_get_public_ips() and ctdbd_find_in_public_ips() 2020-07-08 15:54:41 +00:00
ctdbd_conn.c s3:ctdbd_conn: add ctdbd_control_get_public_ips() and ctdbd_find_in_public_ips() 2020-07-08 15:54:41 +00:00
dmallocmsg.c
dumpcore.c s3/dump_core: Have a newline towards the end of log message 2019-10-18 08:54:04 +00:00
errmap_unix.c lib: Map EINPROGRESS->NT_STATUS_MORE_PROCESSING_REQUIRED 2020-02-20 20:48:29 +00:00
file_id.c lib: Remove unused file_id_string() 2019-11-12 22:18:39 +00:00
file_id.h lib: Remove unused file_id_string() 2019-11-12 22:18:39 +00:00
filename_util.c s3/lib: fsp_str_dbg() doesn't show a possible stream name 2020-07-18 05:58:41 +00:00
fstring.c
g_lock.c s3:g_lock: avoid very expensive generate_random_buffer() in g_lock_parse() 2020-07-08 09:42:39 +00:00
gencache.c s3:gencache: Allow to open gencache as read-only 2020-05-15 14:40:32 +00:00
gencache.h gencache: Remove transaction-based tdb 2018-11-06 18:57:26 +01:00
global_contexts.c s3:lib: Rename server_contexts to global_contexts 2018-09-07 17:26:17 +02:00
id_cache.c
id_cache.h s3-lib: remove some dead prototypes 2017-05-10 15:53:20 +02:00
idmap_cache.c lib: Remove some unused code 2019-02-28 13:53:40 +00:00
idmap_cache.h lib: Remove some unused code 2019-02-28 13:53:40 +00:00
interface.c lib: relicense smb_strtoul(l) under LGPLv3 2020-08-03 22:21:02 +00:00
ldap_debug_handler.c
ldap_escape.c s3:lib: Use memcpy() in escape_ldap_string() 2018-05-17 17:30:09 +02:00
lsa.c lib: Avoid an "includes.h" 2017-02-15 02:28:16 +01:00
messages_ctdb_ref.c Revert "s3:messages: protect against usage of wrapper tevent_context objects for messaging" 2019-01-11 23:11:16 +01:00
messages_ctdb_ref.h messaging: Add messages_ctdb_ref 2017-07-25 17:43:18 +02:00
messages_ctdb.c Revert "s3:messages: protect against usage of wrapper tevent_context objects for messaging" 2019-01-11 23:11:16 +01:00
messages_ctdb.h messages_ctdb: Add messaging_ctdb_connection 2017-07-25 17:43:18 +02:00
messages_util.c lib: Add lib/util/server_id.h 2017-01-22 18:30:11 +01:00
messages_util.h
messages.c lib/messaging: Move messages_dgm out of source3 2020-05-06 00:06:40 +00:00
ms_fnmatch.c s3:lib: Fix size types in ms_fnmatch() 2018-03-21 20:43:19 +01:00
namearray.c
namemap_cache.c lib: relicense smb_strtoul(l) under LGPLv3 2020-08-03 22:21:02 +00:00
namemap_cache.h namemap_cache: Absorb the expired calculation into namemap_cache.c 2018-10-16 18:00:10 +02:00
per_thread_cwd.c s3:lib: add per_thread_cwd_{check,supported,disable,activate}() helper functions 2019-01-11 23:11:11 +01:00
popt_common_cmdline.c s3: remove now unneeded call to cmdline_messaging_context() 2019-10-24 09:33:47 +00:00
popt_common.c smbdotconf: mark "logfile" with substitution="1" 2019-11-27 10:25:35 +00:00
privileges.c lib: Use dom_sid_str_buf 2018-12-20 23:40:25 +01:00
privileges.h
readdir_attr.h
recvfile.c
sendfile.c s3: smbd: Fix AIX sendfile() for SMB2. Ensure we don't spin on EAGAIN. 2018-07-20 15:14:24 +02:00
server_id_db_util.c lib: Add lib/util/server_id.h 2017-01-22 18:30:11 +01:00
server_id_db_util.h
server_id_watch.c lib: Avoid an unnecessary include 2020-01-14 19:17:28 +00:00
server_id_watch.h lib: Remove "msg_ctx" from server_id_watch_send() 2020-01-14 19:17:28 +00:00
server_mutex.c lib: Pass mem_ctx to lock_path() 2018-08-17 11:30:10 +02:00
server_prefork_util.c
server_prefork_util.h
server_prefork.c s3:prefork: Allow to associate private data with listening socket 2019-07-22 16:49:15 +00:00
server_prefork.h s3:prefork: Allow to associate private data with listening socket 2019-07-22 16:49:15 +00:00
serverid.c lib/messaging: Move messages_dgm out of source3 2020-05-06 00:06:40 +00:00
sessionid_tdb.c
sharesec.c sharesec: Return NTSTATUS from delete_share_security 2019-11-26 21:28:31 +00:00
smbd_shim.c smbd: Remove unused brlock code 2019-06-20 17:18:19 +00:00
smbd_shim.h smbd: Remove unused brlock code 2019-06-20 17:18:19 +00:00
smbldap.c Decouple ldap-ssl-ads from ldap-ssl option 2020-07-13 10:41:37 +00:00
smbrun.c lib: Use closefrom() in smbrun.c 2020-01-19 18:29:39 +00:00
srprs.c s3: net: Harden srprs_str() against memcmp overread. 2019-05-15 21:26:12 +00:00
srprs.h lib: Fix prototype of srprs_str 2018-07-24 20:36:50 +02:00
string_replace.c s3: move fruit catia string replace mappings to s3/lib/ 2019-07-12 21:31:29 +00:00
string_replace.h s3: move fruit catia string replace mappings to s3/lib/ 2019-07-12 21:31:29 +00:00
substitute_generic.c s3:lib: Add FALL_THROUGH statements in substitute_generic.c 2018-03-01 04:37:41 +01:00
substitute.c s3: lib: Now remote_machine is static, we can depend on it being non-NULL. 2020-02-07 18:26:15 +00:00
sysacls.c s3:lib: Add FALL_THROUGH statements in sysacls.c 2018-03-01 04:37:42 +01:00
sysquotas_4A.c
sysquotas_4B.c sysquotas_4B: raise log level of a sometimes too noisy message 2019-02-17 13:33:14 +01:00
sysquotas_jfs2.c add sysquotas_jfs2.c 2019-02-17 13:33:13 +01:00
sysquotas_linux.c sysquotas_linux: fix inode limit setting, which is not depeding on blocksize 2019-02-17 13:33:12 +01:00
sysquotas_nfs.c sysquotas_nfs: also honor reported inode/file limits 2019-02-17 13:33:13 +01:00
sysquotas_xfs.c sysquotas_xfs: fix inode limit setting, which is not depeding on blocksize 2019-02-17 13:33:12 +01:00
sysquotas.c lib: relicense smb_strtoul(l) under LGPLv3 2020-08-03 22:21:02 +00:00
system_smbd.c
system.c lib/util: Standardize use of st_[acm]time ns 2020-08-15 08:51:09 +00:00
tallocmsg.c lib: Remove unneded #include malloc.h 2020-02-19 09:38:39 +00:00
tdb_validate.c
tdb_validate.h
test_tldap.c Fix uClibc build on 64bit platforms by including stdint.h 2019-05-19 17:34:20 +00:00
tevent_barrier.c lib: Avoid a "includes.h" 2017-01-22 18:30:11 +01:00
tevent_barrier.h
tevent_glib_glue_tests.c s3/lib: add a tevent_glib_glue subsystem test 2019-04-24 18:32:14 +00:00
tevent_glib_glue.c s3/lib: new tevent_glib_glue subsystem 2019-04-24 18:32:14 +00:00
tevent_glib_glue.h s3/lib: new tevent_glib_glue subsystem 2019-04-24 18:32:14 +00:00
time.c s3:lib: use nt_time_to_full_timespec() in interpret_long_date() 2019-12-06 00:17:36 +00:00
tldap_gensec_bind.c
tldap_gensec_bind.h
tldap_util.c lib: relicense smb_strtoul(l) under LGPLv3 2020-08-03 22:21:02 +00:00
tldap.c tldap: Receiving "msgid == 0" means the connection is dead 2020-08-21 20:37:24 +00:00
username.c
util_builtin.c
util_cluster.c
util_cluster.h
util_cmdline.c s3:lib: Set smb encryption also via cli creds API 2020-08-19 16:22:41 +00:00
util_ea.c
util_ea.h
util_event.c lib: #include "util_event.h" only where needed 2018-04-24 22:26:22 +02:00
util_file.c s3: lib: Rename all uses of file_pload_XXX -> file_ploadv_XXX. 2019-05-24 19:00:06 +00:00
util_file.h s3: lib: Rename all uses of file_pload_XXX -> file_ploadv_XXX. 2019-05-24 19:00:06 +00:00
util_macstreams.c s3:lib: move Mac streams util functions to s3/lib 2019-07-12 21:31:29 +00:00
util_macstreams.h s3:lib: move Mac streams util functions to s3/lib 2019-07-12 21:31:29 +00:00
util_malloc.c
util_names.c s3:lib: Remove unneded call to set_local_machine_name() 2020-02-07 17:00:42 +00:00
util_nscd.c
util_nttoken.c
util_path.c s3: lib: Remove the old canonicalize_absolute_path(). 2020-04-22 08:15:35 +00:00
util_path.h lib: Pass mem_ctx to cache_path() 2018-08-17 14:28:51 +02:00
util_procid.c lib/messaging: Move messages_dgm out of source3 2020-05-06 00:06:40 +00:00
util_procid.h
util_sd.c s3:lib: Add FALL_THROUGH statements in util_sd.c 2018-03-01 04:37:42 +01:00
util_sec.c s3:util_sec: fix the build on non-linux platforms 2020-03-27 09:02:37 +00:00
util_sid_passdb.c lib: Add lib/util_unixsids.h 2016-12-28 20:17:12 +01:00
util_sid_passdb.h
util_sid.c lib: Remove sid_string_dbg 2018-12-20 23:40:26 +01:00
util_sock.c lib: Remove unused client_socket_port() 2020-08-17 19:35:37 +00:00
util_specialsids.c
util_str.c lib: relicense smb_strtoul(l) under LGPLv3 2020-08-03 22:21:02 +00:00
util_tdb.c s3/lib: don't write to buffer (which might be NULL) if bufsize <=0 2019-05-29 10:10:23 +00:00
util_transfer_file.c
util_tsock.c
util_tsock.h
util_unixsids.c lib: Avoid an includes.h 2016-12-28 20:17:13 +01:00
util_unixsids.h passdb: Move lookup_unix_[user|group]_name to lookup_sid.c 2016-12-28 20:17:12 +01:00
util_wellknown.c lib: Use dom_sid_str_buf 2018-12-20 23:40:25 +01:00
util.c lib/util: Remove code inside #ifdef HAVE_BROKEN_READDIR_NAME 2020-07-16 01:29:45 +00:00
version_test.c
version.c
winbind_util.c lib/winbind_util: Add winbind_xid_to_sid for --without-winbind 2019-03-06 01:53:16 +00:00
winbind_util.h lib: Remove some unused code 2019-02-28 13:53:40 +00:00
wins_srv.c s3:lib:wins fix a compile warning on Ubuntu 18.04 2019-10-23 04:57:08 +00:00
xattr_tdb.c vfs: Use file_id_str_buf() in xattr_tdb_setattr() 2019-09-10 23:14:31 +00:00
xattr_tdb.h