Last active
December 16, 2015 22:09
-
-
Save 666threesixes666/5505323 to your computer and use it in GitHub Desktop.
samba shares smb.conf
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[global] | |
# workgroup = NT-Domain-Name or Workgroup-Name, eg: LINUX2 | |
workgroup = WORKGROUP | |
netbios name = $USER | |
# $USER should be changed to what you want your computer known as on the SMB network. | |
# server string is the equivalent of the NT Description field | |
server string = the share of the century | |
# Security mode. Defines in which mode Samba will operate. Possible | |
# values are share, user, server, domain and ads. Most people will want | |
# user level security. See the HOWTO Collection for details. | |
security = share | |
# DON'T LET IT FOOL YOU, YOU NEED SECURITY = SHARE!!!! | |
# if you remove this entry you will probably be pestered with password dialog boxes for passwords that are not set. | |
# Unix users can map to different SMB User names | |
username map = /etc/samba/smbusers | |
# nautilus sharing stuff | |
usershare allow guests = yes | |
usershare max shares = 100 | |
usershare owner only = False | |
# write to unix back end using this user:group | |
# paths are for /home/samba directories, you will probably want to change these. | |
[Broadcast] | |
comment = Guest access share | |
public = yes | |
path = /home/samba/broadcast | |
browseable = yes | |
read only = yes | |
guest ok = yes | |
[Dropbox] | |
path = /home/samba/dropbox | |
public = yes | |
browseable = yes | |
read only = no | |
guest ok = yes | |
force user = $USER | |
force group = $USER | |
# $USER is to be replaced with the actual user/group writing files to the dropbox public r/w share directory. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
3.6.15 you say... 3.6.18 didnt like this