LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-26-2012, 10:59 AM   #1
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,668

Rep: Reputation: 46
guest ok vs. guest only in samba configuration


Looks like all our samba shares are setup with the following parameters: comment, path, browseable, writeable, then either have guest only or guest ok set to yes. All our machines are Windows, but the file servers are RHEL. We want everyone to just connect easily and have permissions to everything. Is one setting "better" than the other? they're not consistent between all our share setups, and i'm not sure if i should go through and change them all to the one that's "best" if one has benefits or drawbacks compared to the other.

Thanks for any tips or advice you have.
 
Old 04-27-2012, 04:17 AM   #2
pan64
LQ Guru
 
Registered: Mar 2012
Location: Hungary
Distribution: debian i686 (solaris)
Posts: 8,124

Rep: Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271Reputation: 2271
that is self explanatory, just see the man page http://www.samba.org/samba/docs/man/...5.html#GUESTOK
"guest ok" means guest access is allowed.
"guest only" means only guest account is allowed, others are not.

the settings cannot be better or worse, it depends always on the requirements.
 
Old 04-27-2012, 08:41 AM   #3
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,668

Original Poster
Rep: Reputation: 46
Right, I guess my question is more, in the environment I basically described, I can't really determine any difference between the two, and i'm wondering if i'm missing something or not. Users don't have accounts on our RHEL server, and the server isn't tied in to Active Directory at all.
 
Old 04-27-2012, 09:08 AM   #4
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Quote:
Originally Posted by rjo98 View Post
Right, I guess my question is more, in the environment I basically described, I can't really determine any difference between the two, and i'm wondering if i'm missing something or not. Users don't have accounts on our RHEL server, and the server isn't tied in to Active Directory at all.
Then, in samba terms, your users are all guests and there is no functional difference between "guest only" and "guest ok".
 
1 members found this post helpful.
Old 04-27-2012, 09:09 AM   #5
rjo98
Senior Member
 
Registered: Jun 2009
Location: US
Distribution: RHEL, CentOS
Posts: 1,668

Original Poster
Rep: Reputation: 46
Thanks catkin, that's what I was thinking, but far be it from me not to miss something haha. Thanks.
 
  


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
Guest to Host message passing - guest's memory usage statistics & guest's IP address Prince_Pangeni Linux - Virtualization and Cloud 2 03-03-2012 04:06 AM
Need minimal Samba configuration with guest r/w share instructions daggett Linux - Server 1 11-09-2011 04:22 PM
Host Fedora14, Windows 7 is running as Virtualbox guest- Mic is not working on Guest mwaheed Linux - Virtualization and Cloud 1 10-20-2011 01:51 PM
KVM with Ubuntu guest - guest crashes when some apps are 'full screened' TonyRogers Linux - Virtualization and Cloud 0 05-15-2011 01:18 PM
Problem installing guest additions on virtualbox Centos 5.5 64bit guest eljay313 Linux - Virtualization and Cloud 1 09-03-2010 09:22 AM


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