Packet capture of LDAP on Linux / Unix

Packet capture of LDAP on Linux / Unix

How can I do a packet trace to capture the LDAP communication between webnetwork and microsoft active directory. Webnetwork is running on a Mac OSX or linux system.
 

The following URL shows how to use the command line tcpdump to do a packet trace. http://jcifs.samba.org/src/docs/capture.html

To capture an ldap communication, you need to make sure that webnetwork is not set to use SSL to talk to LDAP. You can also set the tcpdump to only capture port 389. You will also want to add -s 0 to make sure you get all of the information.

This will just capture data on port 389 : tcpdump -s 0 -w mycapture.pcap ’port 389’

This will capture data on multiple ports* : tcpdump -s 0 -w mycapture.pcap ’port 137 || 138 || 139 || 445’
*These ports are using when debuging cifs / smb / jcifs communication. 

    Can't find the KB

    Unable to find the KB to address your issue ?  

      • Recent Articles

      • Lenovo Unified Workspace End-of-Life Questions and Answers

        Will the shutdown of LUW servers and access to downloads affect my server licensing? No, the shutdown of the customer servers and access to the product and licensing downloads will not affect your server licensing. This license is downloaded and ...
      • How do I determine my Unified Workspace license expiration date?

        The best method for determining the licensing information including the expiration date of your Unified Workspace license: Login to your 8090 management console on each server This may take remoting into each LUW server and relay, opening a browser, ...
      • Lenovo Unified Workspace 7.0.2.13 Released

        Highlights of Unified Workspace 7.0.2.13 Before you install: Please view the installation notes here. 7.0.2.13 requires a 7.0 license file. Below is a list of enhancements and fixes released in Unified Workspace 7.0.2.13 Fixed external storage ...
      • LanSchool Documentation Guides

        LanSchool Classic Teacher Console The LanSchool Teacher Console is the interface teachers will use to manage their classroom and students. It contains all the tools necessary for a teacher to effectively interact with students and create a ...
      • Lenovo Unified Workspace 7.0.1.41 Released

        Highlights of Unified Workspace 7.0.1.41 Before you install: Please view the installation notes here. 7.0.1.41 requires a 7.0 license file. Below is a list of enhancements and fixes for Unified Workspace 7.0.1.41 Updated Log4j Updated Java Updated ...
      • Related Articles

      • How can I capture a TCP dump on Linux?

        The following url shows how to use the command line tcpdump to do a packet trace. http://jcifs.samba.org/src/docs/capture.html  To capture an ldap communication, you need to make sure that webnetwork is not set to use SSL to talk to LDAP. You can ...
      • LDAP tracking on windows server

        How can I track ldap communication on Windows server?   The following URLs give the information on how to track LDAP communication on a windows server. ...
      • General MS AD LDAP information.

        General MS AD LDAP information
      • LDAP Error Codes

        AcceptSecurityContext error, data 52e means "bad password" AcceptSecurityContext error, data 525 means "bad user name" AcceptSecurityContext error, data 773 means "password expiring" or similar.  Standard error codes Standard LDAP errors Error / data ...
      • SizeLimitExceededException when using LDAP

        When using a ldap browser like JXplorer to query AD, sometimes depending on the query the following error is displayed :  javax.naming.SizeLimitExceededException: [LDAP: error code 4 - Sizelimit Exceeded]; remaining name ...