ldap: Add LDAP sample with SASL-SRP mechanism

This is what @dopheide-esnet actually saw. Produced with a custom
cyrus-sasl and openldap build :-(
This commit is contained in:
Arne Welzel 2024-07-18 18:50:19 +02:00
parent 3846db6ccf
commit a70ccc51ab
4 changed files with 34 additions and 0 deletions

View file

@ -0,0 +1,11 @@
# Copyright (c) 2024 by the Zeek Project. See LICENSE for details.
# @TEST-REQUIRES: have-spicy
# @TEST-EXEC: zeek -C -r ${TRACES}/ldap/sasl-srp-who-am-i.pcap %INPUT
# @TEST-EXEC: cat conn.log | zeek-cut -Cn local_orig local_resp > conn.log2 && mv conn.log2 conn.log
# @TEST-EXEC: btest-diff conn.log
# @TEST-EXEC: btest-diff ldap.log
# @TEST-EXEC: ! test -f dpd.log
# @TEST-EXEC: ! test -f analyzer.log
#
# @TEST-DOC: SASL authentication using SRP (Secure Remote Password)