mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
6309b9a770
Sometimes Windows sends 3 presentation contexts (NDR32, NDR64,
BindTimeFeatureNegotiation) in the first BIND of an association.
Binding an additional connection to the association seems to
reuse the BIND buffer and just changes the num_contexts field from
3 to 2 and leaves the BindTimeFeatureNegotiation context as padding
in places.
Note, the auth_pad_length field is send as 0 in that case,
which means we need to ignore it completely, as well as any
padding before the auth header.
BUG: https://bugzilla.samba.org/show_bug.cgi?id=14356
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
(cherry picked from commit
|
||
---|---|---|
.. | ||
bug-14810 | ||
claims-client-tool | ||
complex_expressions | ||
conditional_ace_claims | ||
dcerpc-auth-pad | ||
dfs_paths | ||
dirsync | ||
dns | ||
dns-aging | ||
durable-v2-delay | ||
empty-domain-name | ||
getncchanges | ||
gkdi | ||
initshutdown | ||
kdc-salt | ||
kinit_trust | ||
krb5-no-preauth | ||
ldap | ||
ldap_spn | ||
lm-hash-support-gone | ||
modify-order | ||
multichannel | ||
netlogon | ||
nt-hash-support-gone | ||
ntlmv2-restrictions | ||
oneway | ||
priv_attr | ||
protected_users | ||
python-segfaults | ||
quota1 | ||
README | ||
replica_sync | ||
rpc-dfs | ||
rpc-netlogon-zerologon | ||
rw-invalid | ||
s3-logging | ||
s3-lsa-server | ||
samba3.rpc.samr | ||
samba3.vfs.fruit | ||
samba4.ldap.confidential_attr | ||
samba4.rpc.netlogon-s3 | ||
samba4.rpc.samr | ||
samba-tool-user-get-kerberos-ticket | ||
security-descriptors | ||
sid-strings | ||
silo-client-tool | ||
smb1-tests | ||
smb2.durable-v2-open.bug15708 | ||
smb2.replay | ||
smb2.session | ||
smbclient_machine_auth.plain | ||
smbclient-smb3 | ||
source3-epmapper | ||
srvsvc | ||
symlink | ||
uac_objectclass_restrict | ||
upn_handling | ||
usage | ||
user_getpassword_gmsa | ||
vlv | ||
wkssvc |
# Files in this directory contain lists of regular expressions # matching the names of tests that are temporarily expected to fail. # # Tests that are intended to *always* fail (e.g. to prove that the # test can't succeed under certain conditions) should be added under # selftest/expectedfail.d instead. # # "make test" will not report failures for tests listed here and will consider # a successful run for any of these tests an error. # # Empty lines and lines beginning with '#' are ignored. # Please don't add tests to this README!