TID1982 ( s1982 )
QuickLinkhttp://www.stone-ware.com/swql.jsp?kb=s1982
CategorySwIFT
SummaryHow do I configure a node for File Services ?
DetailsHow do I configure a file service node for webNetwork 5.
Resolution

To configure a native node:
* Remember that native is where the SWIFT services is running.
Host <blank>
Path :
Windows - c:\stoneware
Linux/Unix - /usr/stoneware
Netware - sys:\stoneware

To configure a CIFS node:
Example Information:
Server IP # : 192.168.1.31
CIFS Share : c$

Host : 192.168.1.31
Path : c$

When you enter in the specified credentials , you can enter in a generic username/password or pass in
the users credentials.
When authenticating against microsoft AD, you typically use @@attr:samaccountname@@ and @@password@@
XP Home by default uses GUEST account for file sharing. Guest does not have
a password unless you set one using the NET USER GUEST <password>


Neware node
* No longer valid


To configure a FTP node:
Example Information:
FTP server : 192.168.1.11
Path : /shared

Host : 192.168.1.11
Path : /shared

To configure a Netware FTP Server node:
* A feature of the Netware FTP server is the ability to change to any netware server in the tree from one
ftp server.
Example Information:
FTP Server : 192.168.1.11
Netware server : NWServ1
Netware volume : Data
Netware path : myfiles

Host : 192.168.1.11
Path : //NWServ1/Data/myfiles

* If you need to make a Netware FTP Server node to the users home directory a special webNetwork variable
has been created called : @@ftphomedir@@

Host : 192.168.1.11
Path : @@ftphomedir@@

When you enter in the specified credentials to authenticate, you can either use a generic hard
coded username and password or you can pass in the users credentials. This is typically in the
format of .@@asndsdn(userdn)@@ / @@password@@

Other tips:

CIFS:
Test a cifs connection by using command line tools. From windows type : net use j: \\myserver\myshare /user:username password
This way you can test the proper username and password combination.
If this does not work, then there is a good chance that webNetwork will fail to connect.

If you are unsure of the share you can do a net view /all \\1.1.1.1

If you are unsure of what the microsoft name of the server is you can use net view <ip number> /all and it will list information about that server.
You can also use nbtstat -a <ip number> (linux : nmblookup -A server-name ) to list the broadcast name and the services is provides. The service list can be found here : http://support.microsoft.com/kb/q163409/
You can also make a link under admin to /apps/tools/cifs.jsp use this tool to test cifs connections.

For FTP connections use / (forward slashes)
FTP Servers should be in Unix mode.

If on a linux box use:
mount -t cifs //192.168.1.41/c$ /tmp/mymountarea -o user=administrator,pass=mypassword,domain=mydomain
This will mount the cifs share on 192.168.41 of c$ in /tmp/mymountarea using the
username of administrator and the password of mypassword and domain of mydomain.

You may not need to provide a domain.
Always tests the node hard coding credentials, once working change to use stoneware variables if needed.
Make a link in your portal to /stonewareVariables.jsp and run that link to
display a common set of stoneware variables. You may be able to use
@@typelessuserid@@ for username, but may have to use @@attr:samAccountName@@
depending on your configuration.

This microsoft url helps explain what actually happens when you use the net use command and how the server responds. http://technet.microsoft.com/en-us/library/cc749912.aspx