** 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 **
- Go to webadmin and create a file service node.
- Enter in a unique folder name
- Set the type to CIFS
- Enter in the ip or dns name of the share
- Enter in the path like /myshare
- Click Next
- Enter in the users who should have access to this node
- Unless you specifically want to put more restrictions on the node, check all of the rights.
- Click Next
- For Authentication, select specified
- For username, put in a valid username (later this can be changed to dynamic variables)
- For password, put in a valid password (later this can be changed to dynamic variables)
- Click SAVE
- Go back to File System Properties and click the PING button (5.4 and higher)
- 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
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=