Debug CIFS file nodes

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 x.x.x.x  
Where x.x.x.x is the ip number you just got back and make sure it shows the server name.
If the forward and reverse do not match, fix DNS or put an entry in the host file on the stoneware server for x.x.x.x servername.example-cloud.com servername
This will assign that ip number to the long and short dns name for that share server.

Next from the stoneware server type : net use j: \\servername\sharename\path /user:username password
Replace J: with an empty drive letter and servername\sharename\path , username and password with proper values.
You may have to put domain\username depending on your configuration.

If the net use command does not work, then there is a good chance that this will not work with webNetwork.

** Test with the cifs.jsp **
Next you can make a link in webadmin to /apps/tools/cifs.jsp   Assign it to the portal/webNetwork admin group and log off and back in and click on that new link.  This will let you enter in information on the fly to test CIFS connections.  When entering in the server name, try ip number or short dns name or long dns name, depending on your environment, one or more of those should work.  Some environments may require the domain to be set, try it with and without the domain.  Try it with and without the Share name to list 

Upon clicking the Test Cifs it will list any other workgroups that it finds, it will then try to connect to the CIFS Server using the username/password you provided and list the shares and files.  If this test works, then this same information should work fine with webNetwork file node.

** Test with file service node **
  1. Go to webadmin and create a file service node.
  2. Enter in a unique folder name
  3. Set the type to CIFS
  4. Enter in the ip or dns name of the share
  5. Enter in the path like /myshare
  6. Click Next
  7. Enter in the users who should have access to this node
  8. Unless you specifically want to put more restrictions on the node, check all of the rights.
  9. Click Next
  10. For Authentication, select specified
  11. For username, put in a valid username (later this can be changed to dynamic variables)
  12. For password, put in a valid password (later this can be changed to dynamic variables)
  13. Click SAVE
  14. Go back to File System Properties and click the PING button (5.4 and higher)
  15. Wait for 3 minutes and then go to File Services / my documents and test your new node.

For complex debugging you may need to add some parameters to your /stoneware/bin/webNetwork.lax file per these instructions

Here is a list of CIFS error codes

If the cifs/smb node is hosted on Linux OES2 or Netware Cifs, then you may have to edit stoneware\bin\webnetwork.auth and add -Djcifs.smb.lmCompatibility=1 -Djcifs.smb.client.useExtendedSecurity=false 
to the end of the line that starts with : lax.nl.java.option.additional= 

    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 File Nodes slow to ping in webAdmin and not diplaying files or folders in My Files or webStorage

        The customer is seeing that trying to access CIFS file nodes in My Files or webStorage either results in a timeout error or a "There are no files or folders in this folder" message. When testing the file nodes, through webAdmin, it takes up to 5 ...
      • 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 ...
      • 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 ...
      • 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 ...
      • Common crawler / search debug settings

        Useful Search Logging Switches All switches can be found under com.stoneware. WSTreeModeler com.stoneware.service.Akka.search.WSTreeModeler com.stoneware.service.Akka.search.WSTreeWorker Set to "info" will show it actually trying to index the nodes. ...