Error connecting to slow samba server / Debug CIFS

Error connecting to slow samba server / Debug CIFS

Question:

How can I debug CIFS communication to the back end SMB / CIFS Share ?  I have a slow samba server swift may time out upon first connection.


Solution:

To change the timeout for a connection you can edit the webnetwork.lax file and find the following line:
(your line may or may not look like this, this is just an example to help locate the line in the webnetwork.lax file)

lax.nl.java.option.additional=-server -Xms64m -Xmx256m  -Djava.endorsed.dirs=C:\temp\stoneware5/bin/endorsed   

Add the following to the end of the line :
-Djcifs.smb.client.responseTimeout=30000 -Djcifs.smb.client.soTimeout=40000

To see the debug you can enable the jCIFS debug in the 8090 console of the loader.
There is an Enable checkbox on the Settings tab.  webNetwork will need to be restarted to activate the setting.


Keywords CIFS, debug, webnetwork.lax

    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

      • CIFS Error Codes

        Question: What do the CIFS / SMB error codes mean ? Solution: For a large table of NT codes, see https://customer.lenovosoftware.com/support/techdocs/v6/cifs-nt-codes.txt    jcifs code        nt code 1 0x00000000 0x00000000 NT_STATUS_OK 0 0xc0000001 ...
      • webRDP cannot connect to new Windows 10 workstations / Windows Server 2016 servers

        Issue The HTML5 webRDP client will not connect to new Windows 10 workstations, but will connect to Windows 7 or Windows 8 workstations. Possible Errors: Received an error connecting to: <CN_OF_WEBAPP> Solution Clean installations of Windows 10 now ...
      • Debug CIFS file nodes

        ** Test with the Net use command ** From the main stoneware server go to a cmd prompt and type : ping server      Where server = the server name that holds the share. Make sure the ip number that comes back is the proper ip number then do a : ping -a ...
      • Error connecting to Terminal Server 127.0.0.1

        Customer getting Error connecting to the terminal server: 127.0.0.1 after he updated the RDP client on his Windows XP and Vista machines. The customer was running 5.2.0.2 and needs to update to 5.2.0.4 or higher. The certificate used to code sign the ...
      • Errors connecting to Apple CIFS Share

        In order to connect to OES2 and Netware CIFS shares, some additional parameters need to be added to the webNetwork.lax file.  These parameters are incompatible with Apple CIFS shares. Below are some errors that can be encountered if the OES2/Netware ...