LinuxQuestions.org
Help answer threads with 0 replies.
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 06-02-2007, 04:30 AM   #1
twac
LQ Newbie
 
Registered: Mar 2006
Location: Rotten Arkansas
Distribution: Ubuntu 8.04, OpenSuse 10.3, OpenSuse 10.2
Posts: 13

Rep: Reputation: 0
mount samba share as guest user


Very simple samba shares set up for anonymous access only.

Trying to mount the shares under opensuse 10.2; keep getting "permission denied" error.

Here is the appropriate entry in fstab:

//server/share /home/user/dir cifs rw,username=guest,password=,uid=1000,gid=100 0 0

I can post the samba.conf file off the server if that would be helpful. Thanks much.
 
Old 06-04-2007, 07:08 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Try: //server/share /home/user/dir cifs rw,username=guest,password=,users,umask=008 0 0
 
Old 06-05-2007, 10:50 AM   #3
twac
LQ Newbie
 
Registered: Mar 2006
Location: Rotten Arkansas
Distribution: Ubuntu 8.04, OpenSuse 10.3, OpenSuse 10.2
Posts: 13

Original Poster
Rep: Reputation: 0
Thanks. That's making progress. No longer having permissions troubles.

When trying to mount using fstab, the computer can't see the server. I can browse to it just fine. Any further suggestions?
 
Old 06-05-2007, 01:55 PM   #4
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
Are you using the IP address of the Windows system in the fstab line entry?? You might want to delay mounting the remote server until after the network is up and running.

Some do this by placing a mount command in the /etc/rc.d/rc.local file (Red Hat based system), example below;

mount -t cifs //Server/share /mnt/point -o credentials=/path/to/cifs.txt -rw

The cifs.txt file is just the username and password used for the remote system, example;

username=fred
password=letmein
 
  


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
Cannot write to samba share with XP guest under VMware Workstation 6 (Feisty host) galileux Linux - Software 2 05-17-2007 04:22 PM
Mount samba share at boot with user write permissions Wynd Linux - Software 2 08-21-2006 11:48 PM
No real guest access to samba share possible cumbersome Linux - Software 1 06-23-2006 03:49 PM
Konqueror and Samba Guest User tvynr Linux - Software 0 04-07-2006 11:17 PM
Samba to share between host and guest in VMware cncrazu Linux - Software 0 06-11-2004 10:02 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 01:18 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
Open Source Consulting | Domain Registration