First, allow me to say that I am fairly UNIX ignorant, and I have tried to research this but I think that my ignorance is impeding me. Yep, I’m being lazy as I’m sure if I spent more time researching SAMBA and learning UNIX I would be able to answer this myself. I’m just hoping that someone knows the answer to this question without doing any research themselves and can prevent me from wasting a bunch of my time if I’m going down the wrong path.
I have the need for Unix boxes to be able to mount a directory on an NT4.0 server. I think SAMBA will allow me to do this. The documentation I have read seems to only talk about Windows boxes being able to access files on Unix boxes. The connection is bi-drectional isn’t it? Does SAMBA run solel on the Unix box or is there a piece that has to be installed on the NY box as well?
The way I understand it is that Samba is the Unix version of Microsoft’s SMB (server message block) protocol. I think you can get a Samba server and a Samba client for a Unix box. The Samba client will allow the Unix box to see shares on a Windows box. A Samba server will allow a Unix box to share things on a Windows network.
I think, however, that the protocol used to mount a drive in Unix is the NFS (?) protocol. So you would probably need to install an NFS server on the Windows box to correctly mount the drive. I’m sure someone with a much better idea will be along soon.
Section 8 details Accessing an SMB Share With Linux Machines. I know you didn’t specify Linux, but it’ll be the same syntax exactly for the Samba commands, and I’m sure you’ll be able to find out any idiosyncrasies with your version of mount.
smbclient(1) provides ftp-like access to SMB servers. I know that with Linux you need a kernel driver for “smbfs” to actually mount an SMB share (which is included in the standard kernel distribution). I’m not sure how (or if) this works on other Unices.