Skip to content

Instantly share code, notes, and snippets.

@666threesixes666
Last active Dec 16, 2015
Embed
What would you like to do?
samba shares smb.conf
[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.
@666threesixes666

This comment has been minimized.

Copy link
Owner Author

@666threesixes666 666threesixes666 commented Sep 1, 2013

3.6.15 you say... 3.6.18 didnt like this

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment