HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (
-   Server Operation (
-   -   Need an Open Samba Share (

carlosinfl 2nd October 2012 19:41

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...

Laurent Bardi 3rd October 2012 10:06

I suspect the following lines should work :

force create mode = 0777
force directory mode = 0777
create mask = 0777
directory mask = 0777

dalitso 8th October 2012 15:44

On top of what Laurent Bardi has said, add

guest ok = yes
writable = yes
public = yes

All times are GMT +2. The time now is 00:39.

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