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