Hi,
Quote:
I set up accounts on both Linux boxes that should be able to access the files
|
You don't have to create an account on the client machine, when you smbmount the share, you've got to use the user/password defined on the server.
root@server# smbpasswd bar
New SMB password: foobar
Retype new SMB password: foobar
foo@client# smbmount //server/share /mnt/share -o username=bar,password='foobar'
I agree with ken, nfs is much easier to use, but I prefer samba since when a nfs share is not accessible anymore, then the process who tried to access the share defuncts... whereas with samba it just gives an error (as an exemple, using nfs to access my roomate's mp3 is not cool, since when he shuts is computer, xmms hangs until he reboots)
But, if your server is allways up, nfs is simplier and more efficient (f*!$^¨@g netbios !)
Oh ! another thing, samba uses well known port numbers (137:139) whereas nfs uses rpc (and so dynamical port negotiation) which is a problem to forward through a firewall (but does it make sense to accept file sharing through a firewall... sometimes yes, I think)
Bye