LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 11-27-2003, 07:15 PM   #1
nairnie
LQ Newbie
 
Registered: Oct 2003
Location: UK
Distribution: RedHat 9, Slackware 9.1, Debian
Posts: 28

Rep: Reputation: 15
Problems mounting samba shares


I have been unable to mount samba shares on my computer (running redhat 9) from either the samba server itself or from other windows machines on the network. However i can use Nautilus to browse the contense of the shares and also copy files to the redhat box.

I have been searching the web and tried the following commands but all just kick out errors:

Code:
 mount -t smbfs //Gateway/Music /mnt/music


 mount -t smbfs -o guest //Gateway/Music /mnt/music


 mount -t smbfs  //Gateway/Music /mnt/music -o guest


 smbmnt //Gateway/Music /mnt/music -o guest
I have also tried the IP addrress for the PC instead of "Gateway", but to no avail.

Anyone got any ideas where i am going wrong??


Cheers,


nairnie
 
Old 11-27-2003, 10:36 PM   #2
tornadoburn
LQ Newbie
 
Registered: Nov 2003
Location: Montreal, Canada
Distribution: RH 7.1
Posts: 23

Rep: Reputation: 15
I woudl edit my smb.conf and have samba mount them on boot.

[shares]
comment = Music Folder
path = /mnt/Music *make sure the folder exists
writable = yes
browseable = yes

This sounds like your Smaba Server is not properly configured - Please include a coppy of ur smb.conf file.

Another option is to use Webmin to configure ur Smaba Shares and Mounts
 
Old 11-28-2003, 07:04 AM   #3
paul.nel
Member
 
Registered: Nov 2003
Location: Cape Town
Distribution: Gentoo, Redhat 9, SuSE 9.0, 9.2, Win XP
Posts: 149

Rep: Reputation: 15
I think tornadoburn is reffering to samba shares on the local machine while you are reffering to samba shares on the remote machine. Try this:

mount -t smbfs -o username=Gateway_username,password=Gateway_passward //Gateway/Music /mnt/music

Hope this helps

p.n
 
Old 11-28-2003, 08:34 AM   #4
nairnie
LQ Newbie
 
Registered: Oct 2003
Location: UK
Distribution: RedHat 9, Slackware 9.1, Debian
Posts: 28

Original Poster
Rep: Reputation: 15
I am at work at the moment but will give that ago when i get home.

Not sure if i explained myself clearly enough before so i will give it another go to clarify the situation.

"Gateway" is set up as the samba server. It also acts as a DHCP server for the home network and shares the internet connection. I also have a large harddisk in there that i am using to share media files and back up work from the other computers on the network. The media and backup directories are set up to be shared though Samba as guest/public accounts.

The Windows XP machines can read and write to these directories fine without being prompted for a password.

I also have another computer on the network running Red Hat (and XP as a dual boot). It is this computer called "nairnie" that i wish to mount the shares from "Gateway" in. Again it reads the files fine from XP.

When i use the Nautilus browser in Gnome i can see the shared directoris from "Gateway" (and any other machine on the network) ok, but it prompts me for a password (which it does not under Windows XP). However i can not open any of the files with out first copying them to my computer. I have been told that if i mount the shares then i can open them straight off the hosting machine (as i can under Windows XP).

It is this mounting that i am currently unable to do.

Cheers,

nainrie

NB: I can also not mount any of the shared folder by the windows XP machine
 
  


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 Shares ad user hobz Linux - Software 1 06-17-2005 11:10 PM
mounting shares with samba darkleaf Linux - Software 1 02-13-2005 07:13 AM
Mounting Windows Shares using SAMBA Flossie Mandriva 2 03-26-2004 11:12 AM
Mounting Samba shares and Samba Share Login time112852 Linux - Software 1 09-14-2003 03:23 PM
Mounting Win98 shares using SAMBA desbyleo Linux - Software 3 02-17-2002 08:47 PM


All times are GMT -5. The time now is 10:17 AM.

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration