Lenovo Software Help Center

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= 

    • 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. ...
    • Popular Articles

    • Can a Teacher see Students outside of school?

      This content has moved! Visit the new LanSchool Classic Help Desk It looks like you may be interested in LanSchool Classic General FAQ.
    • LanSchool Latest Release Notes

      This content has moved! Visit the new LanSchool Classic Help Desk It looks like you may be interested in LanSchool Classic Latest Release Notes.
    • How to uninstall LanSchool Student and WebHelper from Chromebook

      This content has moved! Visit the new LanSchool Classic Help Desk It looks like you may be interested in Mass Deploying LanSchool Student for Chromebook.
    • LanSchool Release Notes

      LanSchool™ Release Notes Updated: December 16, 2019 Component Versions LanSchool, December 16, 2019 Chromebook App, December 16, 2019 Chrome Web Helper:, December 16, 2019iOS TA and Student 8.2.0, December 16, 2019 Android ...
    • Controlling multiple students at once

      Problem: Can I remote control multiple computers at once? Cause: N/A Prerequisite(s): LanSchool Teacher and Student Solution(s): If all of the computers in the lab are the same basic image or configuration (for example. all Windows XP machines with ...
    • Recent Articles

    • Lenovo Software Newsletter

      Question Is there a way I can be notified about product updates? Solution To receive updates from Lenovo Software about product updates, we encourage customers to subscribe to our Lenovo Software Newsletter.
    • Allow Help Desk to reset Image Challenge images

      Issue Customer would like to allow Help Desk users to only be able to reset user Image Challenge images when they have been forgotten by a user. Solution This can be done by assigning specific users in the system the User Group Admin role, as well as ...
    • Troubleshoot RDS

      This is a good article, from Microsoft, on how to troubleshoot RDS/RDP logon issues. https://social.technet.microsoft.com/wiki/contents/articles/37841.remote-desktop-services-rds-logon-connectivity-overview-and-troubleshooting.aspx
    • Building an Employee Phonebook system

      Building a Mini Application Post #20 Can it really be that simple to create a little application with Report and Form Builder?  This tutorial shows you that it is - and actually helps you make a useful application at the same time as learning how to ...
    • Working with Binary Data in Report Services

      Quick Start Guide - Binary Data This tutorial is designed as a quick "How Do I Work With Binary Data" tutorial.  It walks through the steps necessary to upload an image to a database.  Every webNetwork 6.0 installation ships with a database called ...