You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
1.5 KiB

#=============================== Global Settings ==============================
[global]
server role = standalone server
hosts allow = 192.168.1. 192.168.2. 127.
log file = /var/log/samba/log.%m
workgroup = group name
netbios name = strange name
server string = Calculate Directory Server
directory mask = 0755
directory security mask = 0755
force directory security mode = 0755
security mask = 0644
force security mode = 0644
create mask = 0644
enable privileges = yes
#============================== Share Definitions =============================
[homes]
path = /home/user/somewhere
comment = Home Directories
valid users = %U
read only = No
browseable = No
# Un-comment the following and create the netlogon directory for Domain Logons
[netlogon]
path = /var/lib/samba/netlogon
guest ok = yes
share modes = no
[tmp]
comment = Public Stuff
path = /home/samba
public = yes
writable = no
printable = no
write list = @staff
[unix]
path = /home/path
browseable = No
writable = yes
directory mask = 0777
directory security mask = 0777
force directory security mode = 0
create mask = 0777
security mask = 0777
force security mode = 0
force user = %U
valid users = %U
hide unreadable = no
root preexec = /usr/lib/calculate/calculate-server/bin/execserv -s --login %U
root postexec = /usr/lib/calculate/calculate-server/bin/execserv -s --logout %U