Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
orangepi-xunlong
GitHub Repository: orangepi-xunlong/orangepi-build
Path: blob/next/external/cache/sources/orangepi-config/scripts/smb.conf
9789 views
1
[global]
2
workgroup = SMBGROUP
3
server string = %h server
4
hosts allow = SUBNET
5
log file = /var/log/samba/log.%m
6
max log size = 1000
7
syslog = 0
8
panic action = /usr/share/samba/panic-action %d
9
load printers = yes
10
printing = cups
11
printcap name = cups
12
13
[printers]
14
comment = All Printers
15
path = /var/spool/samba
16
browseable = no
17
public = yes
18
guest ok = yes
19
writable = no
20
printable = yes
21
printer admin = SMBUSER
22
23
[print$]
24
comment = Printer Drivers
25
path = /etc/samba/drivers
26
browseable = yes
27
guest ok = no
28
read only = yes
29
write list = SMBUSER
30
31
[ext]
32
comment = Storage
33
path = /ext
34
writable = yes
35
public = no
36
valid users = SMBUSER
37
force create mode = 0777
38
39