Old 2nd October 2012, 19:41
carlosinfl carlosinfl is offline
Join Date: Dec 2009
Location: Orlando, FL
Posts: 70
Thanks: 3
Thanked 4 Times in 4 Posts
Send a message via AIM to carlosinfl
Question Need an Open Samba Share

I'm trying to set up an open Samba share on Debian Linux and for some reason I'm having problems with the 'open' part. I have a folder in Linux called /share that's owned by root:users and has 777 permissions:

drwxrwsrwx   2 root users  4096 Oct  2 12:19 share
Now my Samba configuration is as shown below:

fs3:/etc/samba# cat smb.conf
	workgroup = workgroup
	server string = Share
	obey pam restrictions = Yes
	pam password change = Yes
	passwd program = /usr/bin/passwd %u
	passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
	unix password sync = Yes
	syslog = 0
	log file = /var/log/samba/log.%m
	max log size = 1000
	dns proxy = No
	panic action = /usr/share/samba/panic-action %d
	security = share

	path = /share
	comment = Test Share
	writable = yes
	browsable = yes
	read only = no
Now when I try to browse to the share from any Windows machine, I'm prompted with a login box that doesn't allow me to change the username field. It's like grayed out or not editable for some reason. I just have an option for a password but since I have no idea what credentials it's asking for, I don't know how to fix this. Users just want an 'un-secure' share to dump files and folders in. Seems fairly simple but I've not used Samba in some time and have no idea what I'm doing...
Reply With Quote
Sponsored Links
Old 3rd October 2012, 10:06
Laurent Bardi Laurent Bardi is offline
Junior Member
Join Date: Oct 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts

I suspect the following lines should work :

force create mode = 0777
force directory mode = 0777
create mask = 0777
directory mask = 0777
Reply With Quote
Old 8th October 2012, 15:44
dalitso dalitso is offline
Join Date: Nov 2008
Location: South Africa
Posts: 43
Thanks: 3
Thanked 4 Times in 3 Posts
Send a message via Skype™ to dalitso

On top of what Laurent Bardi has said, add

guest ok = yes
writable = yes
public = yes
Reply With Quote


Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ubuntu and nginx delgado2061 Installation/Configuration 0 28th November 2011 00:36
Can't receive mails baicunko Server Operation 12 3rd August 2011 23:02
High on Lenny - Lvm Mount Problem Serverman Technical 1 23rd June 2009 17:26
Howto suggestion suse PhP ver 4 + Ver 5 wwparrish Suggest HOWTO 11 7th August 2006 14:29
open ports rayit General 6 18th January 2006 15:23

All times are GMT +2. The time now is 07:43.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.