When having issues with LDAP authentication we need to look up the actual LDAP queries executed by JFrog Platform or JFrog Artifactory and a corresponding response returned by LDAP directory. In this article, we will show how to capture the network traffic with tcpdump, then use the advantage of WireShark UI to analyze, filter, and troubleshoot LDAP transactions.
tcpdump - is a command-line network packet analyzer that will help us to gather the information that cannot be found in the logs. tcpdump is a standard package in most Linux distributions, and you can get it here: https://www.tcpdump.org/.
WireShark - is an open-source network packet analyzer with user-interface which is helpful in troubleshooting and analyzing LDAP connectivity. For more information about the tool and download links, refer to https://www.wireshark.org/.