How do I connect to OES2 or Netware CIFS share ?

How do I connect to OES2 or Netware CIFS share ?

*** Note ***After 6.3.0.198 it is not possible to have both Apple CIFS shares and Netware CIFS shares on the same system. This is do to the increased security in OS X. There are special parameters that are needed to make Netware CIFS to work and those cause a conflict with OS X shares.

A CIFS/SMB share either connects on port 139 or port 445, which port is used is dependent on the product hosting the shares. For example a typical Linux SAMBA server will typically work on both 139 or 445. But the CIFS implementation in Novell Linux OES2 only uses port 139. More information on this topic can be found : http://ubiqx.org/cifs/SMB.html


Jcifs which is the java package that we use to communicate with a cifs/smb server tries port 445 first and then falls back to port 139 unlike the windows net use command which defaults to port 139. Some Linux distributions can take up to 3 min before they time out the port 445 connection leaving very little time to try port 139.


What does this mean for webNetwork users ?

To connect to a server that uses port 139 we need to tell webnetwork file services to use port 139 instead of the default port 445. This is done by putting :139 on the end of the host address when configuring the node. So if the address for the server is 192.168.1.23 then put 192.168.1.23:139


*** The following change is only needed for versions lower than 6.3.0.192, any version higher than that should NOT include these parameters because they are not needed and will cause communication problems with newer operating systems.
Next we must edit the /stoneware/bin/webnetwork.lax file and add some parameters to tell the server to negotiate the authentication method.

This is done by editing the /stoneware/bin/webnetwork.lax.
Add the following parameters to the end of the lax.nl.java.option.additional line:

-Djcifs.smb.lmCompatibility=1
-Djcifs.smb.client.useExtendedSecurity=false

Once done, save and shut down and start webnetwork back up, you should be able to connect to an OES2 share now.

The modification for the .lax file are also required for a Netware 6.5 CIFS share.

There are a few other parameters that can be used to tweak the jcifs client when talking to an OES2 server that is not displaying the contents of a folder that contains more then 200 files or sub-folders. **SP2 is required for these parameters.

-Djcifs.smb.client.listCount=2000
-Djcifs.smb.client.responseTimeout=30000
-Djcifs.smb.client.soTimeout=30000
-Djcifs.smb.client.rcv_buf_size=120832

    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

      • 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 ...
      • 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 ...
      • Connect to users home directory using Netware FTP Server ?

        The nice thing about the Netware FTP server is that you can connect  to any NetWare server in the tree that you have access to from one FTP  server connection. You can test this from a dos prompt  FTP your.ftp.server  .username.context  password  ...
      • 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 ...