Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Software
User Name
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.


  Search this Thread
Old 05-10-2005, 09:17 PM   #1
LQ Newbie
Registered: May 2005
Posts: 2

Rep: Reputation: 0
Samba Public Share Problem

Hey guys and girls.

I just have a small issue i am tring to work thought. I have setup a pc at work and running it as a little file server. However i am having trouble getting to it without needing to authenticate myself.

When i authenticae myself its all cool but i would like a guest account to default be able to access one share.

the computer im connecting it to from is part of a domain and the samba server is just a standalone machine.

Could anyone give me any suggestions as to what i can do so i don't need to authenticate myself to access this share

I have a dump of my SMB.conf file. Im running slackware 10


workgroup = MYGROUP

server string = Dumpty Dum

security = user

; hosts allow = 127.

# Uncomment this if you want a guest account, you must add this to /etc/passwd
# otherwise the user "nobody" is used
guest account = nobody

log file = /var/log/samba.%m

# Put a capping on the size of the log files (in Kb).
max log size = 50

# Most people will find that this option gives better performance.
# See the chapter 'Samba performance issues' in the Samba HOWTO Collection
# and the manual pages for details.
# You may want to add the following on a Linux system:
socket options = TCP_NODELAY

dns proxy = no

add user script = /usr/sbin/useradd %u
add group script = /usr/sbin/groupadd %g
add machine script = /usr/sbin/adduser -n -g machines -c Machine -d /dev/null -s /bin/false %u
delete user script = /usr/sbin/userdel %u
delete user from group script = /usr/sbin/deluser %u %g
delete group script = /usr/sbin/groupdel %g

#============================ Share Definitions ==============================
comment = Home Directories
browseable = no
writable = yes

# This one is useful for people to share files
comment = Temporary file space
path = /home/tmp
read only = no
public = yes
force user = nobody

# My Stuff
[Little Dump]
comment = Dumpty Dum
public = yes
path = /home/ftp
write list = ben
writable = yes

Any help or suggestions would be greatly appreciated.

Last edited by mundz; 05-10-2005 at 09:19 PM.
Old 05-11-2005, 12:02 PM   #2
Senior Member
Registered: Apr 2004
Location: Potchefstroom, South Africa
Distribution: Fedora 17 - 3.3.4-5.fc17.x86_64
Posts: 1,508

Rep: Reputation: 100Reputation: 100

I do pretty much what you want (a free directory available to all Windows users on the my LAN without needing authentication from their end) with:

path = /mnt/win/shared
guest ok = yes
writeable = yes
create mode = 0666
directory mode = 0777
browseable = yes
public = yes

Hope this helps?


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
SAMBA Public Share Folder Echo Kilo Linux - Software 3 06-17-2008 02:32 AM
Samba public share FNC Linux - Software 9 11-14-2005 08:54 PM
Network public samba share Imaboyo Linux - Newbie 0 08-14-2004 03:14 PM
public share in samba brasuca Linux - Software 2 05-10-2004 10:07 AM
Public Samba share mdpowell Linux - Software 1 03-13-2002 11:41 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:16 AM.

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