LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Mapping a SAMBA directory.. (https://www.linuxquestions.org/questions/linux-networking-3/mapping-a-samba-directory-495126/)

arzer 10-24-2006 09:47 AM

Mapping a SAMBA directory..
 
Hi,

I have a situation where I need to execute (via WINE) a mail application which is stored on a Win2K3 shared folder. I can connect to the remote folder and find the file I need to execute, but the path "smb://username@server/TargetFolder" is not in a valid format for WINE.

Is there a way to map such a path to a standard file system path (i.e. "/samba/TargetFolder") - kind of like setting up a mapped drive in Windows?


Thanks very much.
Arzer

MS3FGX 10-24-2006 05:59 PM

Yes, you just need to mount it.

I.E:

mount -t smbfs //Computer/Share /mnt/Target

arzer 10-25-2006 06:30 AM

Thanks,

Ok, I create a mount point at /mnt/target using mkdir.
Next, I issue the following:

mount -t smbfs -o usernane=arzer,password=thepassword //computer/targetshare /mnt/target

The shell responds:

mount: wrong fs type, bad option, bad superblock on //computer/targetshare,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so


Can anyone see what I am missing here?


Thanks very much.
Arzer

hondo 10-25-2006 07:09 AM

Seems like you spelled the shared location wrong? take a look at smbmount for ex. When i have mounted a CD-ROM an stuff manually i have sometimes gotten that message usually meaning i have tryed to for example mount the wrong devices file, /dev/cdrom instead if /dev/hdd for example. Though, try smbmount.

Quote:

Originally Posted by arzer
Thanks,

Ok, I create a mount point at /mnt/target using mkdir.
Next, I issue the following:

mount -t smbfs -o usernane=arzer,password=thepassword //computer/targetshare /mnt/target

The shell responds:

mount: wrong fs type, bad option, bad superblock on //computer/targetshare,
missing codepage or other error
In some cases useful info is found in syslog - try
dmesg | tail or so


Can anyone see what I am missing here?


Thanks very much.
Arzer


arzer 10-26-2006 03:27 AM

Thanks,

I double checked that the share names and server names were correct so this is not the problem.

I saw on a HOWTO about the smbmount method, but smbmount doesnt appear to be on my system? Any ideas on where I can get hold of it?

Thanks
Arzer

prasanta 10-26-2006 03:56 AM

I think smbfs is not installed. Install it and check. That will take care of everything.

--
Prasanta


All times are GMT -5. The time now is 06:21 AM.