2022-02-27 15:19:59 +01:00
|
|
|
# =================================================
|
|
|
|
# DO NOT EDIT THIS FILE
|
|
|
|
# EDIT SUBPARTS IN /etc/samba/smb.conf.d
|
|
|
|
# =================================================
|
|
|
|
|
2022-02-22 13:59:54 +01:00
|
|
|
[global]
|
|
|
|
|
|
|
|
log file = /var/log/samba/log.%m
|
|
|
|
max log size = 1000
|
2022-02-22 17:45:17 +01:00
|
|
|
logging = file
|
|
|
|
panic action = /usr/share/samba/panic-action %d
|
2022-02-22 13:59:54 +01:00
|
|
|
|
|
|
|
server role = standalone server
|
|
|
|
|
|
|
|
obey pam restrictions = yes
|
|
|
|
unix password sync = yes
|
|
|
|
passwd program = /usr/bin/passwd %u
|
|
|
|
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
|
|
|
|
pam password change = yes
|
2022-02-22 17:45:17 +01:00
|
|
|
map to guest = bad user
|
|
|
|
|
2022-02-24 17:58:28 +01:00
|
|
|
usershare allow guests = yes
|
|
|
|
browseable = yes
|
2022-02-22 17:45:17 +01:00
|
|
|
|
|
|
|
|
|
|
|
[homes]
|
|
|
|
comment = Home Directories
|
2022-02-24 17:58:28 +01:00
|
|
|
browseable = no
|
|
|
|
read only = no
|
2022-02-22 17:45:17 +01:00
|
|
|
create mask = 0700
|
|
|
|
directory mask = 0700
|
|
|
|
valid users = %S
|
|
|
|
|
|
|
|
[share]
|
2022-02-27 15:19:59 +01:00
|
|
|
comment = share
|
2022-02-22 17:45:17 +01:00
|
|
|
read only = no
|
2022-02-24 17:58:28 +01:00
|
|
|
path = /home/yunohost.app/samba/share
|
2022-02-22 17:45:17 +01:00
|
|
|
guest ok = no
|
|
|
|
browsable = yes
|
2022-02-24 17:58:28 +01:00
|
|
|
valid users = @samba.share
|
2022-02-22 17:45:17 +01:00
|
|
|
create mask = 0660
|
2022-02-24 17:58:28 +01:00
|
|
|
directory mask = 770
|
2022-02-22 17:45:17 +01:00
|
|
|
vfs objects = dfs_samba4 acl_xattr recycle
|
|
|
|
recycle:repository = .recycle
|
|
|
|
recycle:keeptree = yes
|
|
|
|
recycle:versions = yes
|