1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/samba_ynh.git synced 2024-09-03 20:16:27 +02:00
samba_ynh/conf/smb.conf

42 lines
979 B
Text
Raw Normal View History

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]
comment = share (D)
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