How can I capture a TCP dump on Linux?

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 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

      • 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. ...
      • Linux server tuning

        Question Are there suggested TCP parameters that should be changed on a Linux server running webNetwork? Linux Server OS out of the box should function properly with webNetwork. However, some customers have had to follow this information due to their ...
      • Tuning Linux Servers for UW/webNetwork Performance

        The following changes will make sure Linux will clear unused connections faster: Important: This solution requires adjusting Linux kernel parameters. You should make a note of the original values so you can reset them if necessary. To reduce the ...
      • Dump Roles and Features on Windows server

        Go into powershell and type : Get-WindowsFeature This will dump a list of the features installed on this server. If you want to narrow things down you can type something like : Get-WindowsFeature -Name web-server | Format-List -Property * 
      • General Linux Information.

        How can I tell what kernel I am running ?  cat /proc/version  How can I tell how long the box has been up ?  uptime  How can I tell what processes are taking up the cpu ?  top  UW won’t start after changing hostname on linux.  Your ’hostname’ on the ...