LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
LinkBack Search this Thread
Old 10-24-2006, 09:47 AM   #1
arzer
Member
 
Registered: Oct 2006
Distribution: Kubuntu, FC5
Posts: 38

Rep: Reputation: 15
Question 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
 
Old 10-24-2006, 05:59 PM   #2
MS3FGX
Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,850

Rep: Reputation: 350Reputation: 350Reputation: 350Reputation: 350
Yes, you just need to mount it.

I.E:

mount -t smbfs //Computer/Share /mnt/Target
 
Old 10-25-2006, 06:30 AM   #3
arzer
Member
 
Registered: Oct 2006
Distribution: Kubuntu, FC5
Posts: 38

Original Poster
Rep: Reputation: 15
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

Last edited by arzer; 10-25-2006 at 06:57 AM.
 
Old 10-25-2006, 07:09 AM   #4
hondo
Member
 
Registered: Jul 2005
Location: norway
Posts: 198

Rep: Reputation: 32
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
 
Old 10-26-2006, 03:27 AM   #5
arzer
Member
 
Registered: Oct 2006
Distribution: Kubuntu, FC5
Posts: 38

Original Poster
Rep: Reputation: 15
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
 
Old 10-26-2006, 03:56 AM   #6
prasanta
Member
 
Registered: Mar 2005
Location: India
Distribution: Debian
Posts: 368

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

--
Prasanta
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mapping Homes directory in Samba mheymann Linux - Networking 1 08-05-2005 01:34 PM
Mapping windows directory to linux client automatically at login with credentials bschneider Linux - Networking 13 05-12-2005 10:21 AM
Automatic AD user directory creation/mapping HalJordan Fedora 5 02-19-2005 10:31 AM
Mapping a ftp to a linux directory rmarescu Linux - Networking 1 01-28-2004 01:41 PM
user directory mapping ariana Linux - Software 2 03-10-2003 11:55 AM


All times are GMT -5. The time now is 11:57 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration