]> git.ipfire.org Git - thirdparty/samba.git/commit
tldap: Receiving "msgid == 0" means the connection is dead
authorVolker Lendecke <vl@samba.org>
Tue, 11 Aug 2020 16:09:14 +0000 (18:09 +0200)
committerKarolin Seeger <kseeger@samba.org>
Mon, 31 Aug 2020 10:51:57 +0000 (10:51 +0000)
commitea7c6bc97697ccd63a8207f2b8a1f1c3fac93198
treed1391d30e4ccc88672f17eaaff6867a4485363bc
parentffb843f1f6b4bba38fe178d87d5e9e1e168b6036
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

(cherry picked from commit ccaf661f7c75717341140e3fbfb2a48f96ea952c)

Autobuild-User(v4-12-test): Karolin Seeger <kseeger@samba.org>
Autobuild-Date(v4-12-test): Mon Aug 31 10:51:57 UTC 2020 on sn-devel-184
selftest/knownfail.d/ticket_expiry [deleted file]
source3/lib/tldap.c