packet-ldap: regression for SASL handling
Summary
commit 19b3376a ("LDAP bogus malformed errors: decoding encrypted data") introduced 2 problems:
- guint decr_len = tvb_reported_length(decr_tvb); was
always called with decr_tvb==NULL
- dissect_ldap_payload() was not called if sasl_tree is NULL,
it needs to be called even if the tree pointer are NULL
in order to have the COL_INFO setup correctly.
I already have a fix for that, which will follow in a merge request soon.
Sample capture file
This capture contains various LDAP pdu's some are without encryption, some are with encryption and can be decrypted using the keytab file.
exchange-2019-cu9-w2019-217-installs-on-w2k8r2-216-forest-level-fail-01.pcapng.gzexchangetest.private.keytab