Hi all. I've recently installed e-smith and love it. It was easy to set up and with a little research I was able to tweak a few features the way I wanted. (Although I am an intermediate UNIX/Linux user, I am definitley a novice to networking and servers.) I am having one problem that all my research hasn't solved, so I thought I'd try here.
What I'd like to do is set up the FTP server so that I can access shared files on networked computers, i.e., the files are located on the workstation drives not the server. It should be fairly easy for the server to access these shared files because all the Windows computers can easily access them through Network Neighborhood. However, I cannot seem to get the server to access any of these shared directories.
The plan I had, based on my research, was to mount the network drives under the same directories that can be accessed by FTP. Here's what I had thought might work (from server root login):
smbmount //netname /home/e-smith/files/users/account/dirname U username I 192.168.1.16
where netname = name of networked computer, account = e-smith username, dirname = directory created for mountpoint, username = Windows username
Unfortunately, this got me a usage listing for smbmount. Since the harddrive I was trying to map was partitioned into 3 drives, I changed the above command to use "//netname/hd1". This seemed to work because next it asked for a password (which is what my research said should happen). I tried my Windows password and got the following error:
"tree connect failed: ERRSRV - ERRinvnetname (Invalid net name in tree connect.)"
Clearly adding the hd1 fixed something, but it still has an invalid name somewhere. I tried a variety of hd numbers, using a known shared directory (e.g., //netname/hd1/shared), using my e-smith password instead of Windows password, but nothing. I still get the same error message. On top of that, I can't even determine if the server can even access the computer, other than from pinging the IP. Neither telnet nor ssh will get me to the Windows computer, saying "[Secure] connection to netname refused".
So, here's a few questions:
1. Can I even do what I'm trying to do; access shared directories through the FTP server?
2. Am I on the right path -- mounting network drives under the FTP directories?
3. Can anyone see anything wrong with the smbmount command I am attempting?
4. Is there any way to tell which partition on the Windows computer is which hd#?
5. Is there any way to access the Windows computer (telnet, SSH) from the server (root) regardless of whether I can mount them for the FTP server?
6. Is there anything in general you can add to help me out?
I greatly appreciate any help. Although I'm quite new at this, I think I'm starting to understand it and I'm willing to do whatever learning is necessary. But I'm at a dead end here. Thanks in advance.
Chad