LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 05-10-2005, 08:17 PM   #1
mundz
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

[global]


workgroup = MYGROUP

server string = Dumpty Dum

security = user

; hosts allow = 192.168.5.108 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:
# SO_RCVBUF=8192 SO_SNDBUF=8192
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 ==============================
[homes]
comment = Home Directories
browseable = no
writable = yes

# This one is useful for people to share files
[tmp]
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 08:19 PM.
 
Old 05-11-2005, 11:02 AM   #2
rylan76
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
Hi

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:

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

Hope this helps?
 
  


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

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

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