samba configuration
unknown
text
2 days ago
1.7 kB
8
Indexable
#/etc/samba/smb.conf
[global]
log file = /var/log/samba/log.%m
log level = 1
guest account = nobody
obey pam restrictions = no
max log size = 1000
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
disable netbios = no
passdb backend = tdbsam
load printers = no
dns proxy = no
multicast dns register = yes
unix password sync = yes
fruit:copyfile = yes
passwd program = /usr/bin/passwd %u
logging = file
printcap name = /dev/null
pam password change = yes
fruit:nfs_aces = no
client max protocol = SMB3
client min protocol = SMB3
directory mask = 2770
panic action = /usr/share/samba/panic-action %d
socket options = TCP_NODELAY SO_RCVBUF=65536 SO_SNDBUF=65536
force create mode = 2770
wins support = yes
aio write size = 0
aio read size = 0
max xmit = 65535
printing = bsd
server min protocol = SMB3_00
disable spoolss = yes
fruit:aapl = yes
smb1 unix extensions = yes
use sendfile = yes
getwd cache = yes
force directory mode = 2770
create mask = 2770
time server = no
write raw = yes
acl allow execute always = yes
rpc_daemon:fssd = fork
veto files = /.snapshots/
server string = HomeLAB Server
netbios name = HomeLAB
read raw = yes
interfaces = lo 192.168.1.0/24 ::1/128 fe80::/10 # Limit access to only local network
bind interfaces only = yesEditor is loading...
Leave a Comment