Need an Open Samba Share

Discussion in 'Server Operation' started by carlosinfl, Oct 2, 2012.

  1. carlosinfl

    carlosinfl New Member

    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...
  2. Laurent Bardi

    Laurent Bardi New Member

    I suspect the following lines should work :

    force create mode = 0777
    force directory mode = 0777
    create mask = 0777
    directory mask = 0777
  3. dalitso

    dalitso New Member

    On top of what Laurent Bardi has said, add

    guest ok = yes
    writable = yes
    public = yes

Share This Page