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

      • Change Reset Password Button Text

        Change the text of the "Reset Password" button on the UW Login Page How to change the text of the Reset Password button on the Login Page. Login to webNetwork and open webAdmin on your Relay Central Server Expand Customization Center Expand Tenants ...
      • Remove Reset Password Button From Login Page

        Remove the Reset Password Button from the Login Page How to remove the Reset Password button from the Unified Workspace login page. Login to webNetwork and open webAdmin on your Relay Central Server Expand Customization Center Expand Tenants Expand ...
      • Lenovo Unified Workspace End-of-Life Questions and Answers

        As of January 31st 2024, Lenovo Unified Workspace (formerly Stoneware WebNetwork) is no longer supported. This means that we no longer provide licenses, downloads, updates, patches, or technical assistance for this product. If you have any questions ...
      • 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 ...
      • 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 ...