I ran into an interesting problem tonight. I have two linux machines on my network, one that I successfully set up as a samba file server, the other which I want to use as a client able to mount entire drives and their dubdirectories from the samba server.

The client machine can browse to the samba share fine in Konqueror using the stntax smb://192.168.0.19/hdb1

(192.168.0.19 being the samba server and hdb1 being one of the dirves on the server I share)

however things go awry when I try to mount the samba share on my client machine:

hayabusa@andromeda:~$ sudo mount -t smbfs //192.168.0.19/hdb1 /mnt/smbhdb1
mount: wrong fs type, bad option, bad superblock on //192.168.0.19/hdb1,
or too many mounted file systems

I've created the local m ount ppoint for it as /mnt/smbhdb1 with the following permissions:

drwxr-xr-x 2 root users 4096 Aug 28 01:08 smbhdb1

I did some googline on the error message and one site says that the particular error message I get indicates that smbmnt/smbmount are not installed. updating the db and doing a locate on these two files turned up nothing. Further googling leads me to believe that enabling sambafs in the kernel and having the samba-common debian package installed should be enough to mount a samba filesystem, yet my problem persists. I've tried it both with and without username and password (as it stands now it shouldn;t need either to reach the samba share and browsing to it in Konq didn't require a username or password). I cheked lsmod to make sure sambafs is loaded as a module, and it is. Is there something server side I have to do to make a samba share remotely mountable, or is there something glaringly obvious I'm missing on the client machine?