LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-15-2005, 09:28 AM   #1
linux_or_bust
Member
 
Registered: Nov 2004
Location: New Jersey
Distribution: Vectorlinux SOHO 5.1.1, Slackware 11
Posts: 47

Rep: Reputation: 15
Mounting Samba Share


Does anyone know how to mount a Samba Share? I am currently using Suse 9.2 Pro. I am trying to use XMMS to listen to music on a network. The music files are located on another computer (obviously). Samba is set up right, and I have no problem viewing the files. I just can't find out how to get XMMS to open the file.
 
Old 02-15-2005, 09:35 AM   #2
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
If it is mounted on your client (say, in /mnt/samba) then linux just thinks that /mnt/samba is on your local drive.

In XMMS, just click "add file" and then navigate in the GUI to /mnt/samba.

hamish
 
Old 02-15-2005, 09:42 AM   #3
linux_or_bust
Member
 
Registered: Nov 2004
Location: New Jersey
Distribution: Vectorlinux SOHO 5.1.1, Slackware 11
Posts: 47

Original Poster
Rep: Reputation: 15
great, i will check it out tonight

thanks
 
Old 02-15-2005, 10:38 AM   #4
ckr
Member
 
Registered: Jul 2004
Posts: 45

Rep: Reputation: 15
My own playing with Samba over the past 2 days has shown me something you might want to be aware of. Make sure that whatever files you're trying to access has the correct permissions. Not a problem if everything's global, but if you've got more restrictive permissions on the files it could be a problem. Just mounting the share might not work, as I discovered.
 
Old 02-15-2005, 10:48 AM   #5
zymurgist
Member
 
Registered: Jan 2003
Location: Long Island
Distribution: Redhat 8.0
Posts: 109

Rep: Reputation: 15
You could always add the mount info to /etc/fstab:

//server/directory /mnt/whatever smbfs credentials=/etc/sambacred,uid=###,gid=###,fmask=664

Fill in the ### with the uid and gid from /etc/passwd and /etc/group and populate the /etc/sambacred file with:
username=me
password=pass
And make sure its only readable by root.

ken
 
Old 02-15-2005, 12:36 PM   #6
hamish
Member
 
Registered: Aug 2003
Location: Edinburgh
Distribution: Server: Gentoo2004; Desktop: Ubuntu
Posts: 720

Rep: Reputation: 30
Hey
what does "fmask=664" do? I can't remember if I'm using it in my fstab, but I was curious.

hamish
 
Old 02-16-2005, 09:38 AM   #7
zymurgist
Member
 
Registered: Jan 2003
Location: Long Island
Distribution: Redhat 8.0
Posts: 109

Rep: Reputation: 15
fmask=664 sets the file mode to 664 for new file creation in the samba directory.
 
  


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


Similar Threads
Thread Thread Starter Forum Replies Last Post
mounting samba share glock19 Linux - General 13 07-15-2013 08:50 PM
Mounting XP share w/Samba KFoldesi Linux - Software 7 06-29-2004 09:51 PM
samba share mounting bacon22 Linux - Software 1 01-24-2004 07:13 AM
Mounting Samba shares and Samba Share Login time112852 Linux - Software 1 09-14-2003 02:23 PM
Mounting a Samba Share msjenkins Linux - Software 0 07-16-2003 10:19 PM


All times are GMT -5. The time now is 09:16 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