first commit
This commit is contained in:
37
external/cache/sources/orangepi-config/scripts/smb.conf
vendored
Normal file
37
external/cache/sources/orangepi-config/scripts/smb.conf
vendored
Normal file
@@ -0,0 +1,37 @@
|
||||
[global]
|
||||
workgroup = SMBGROUP
|
||||
server string = %h server
|
||||
hosts allow = SUBNET
|
||||
log file = /var/log/samba/log.%m
|
||||
max log size = 1000
|
||||
syslog = 0
|
||||
panic action = /usr/share/samba/panic-action %d
|
||||
load printers = yes
|
||||
printing = cups
|
||||
printcap name = cups
|
||||
|
||||
[printers]
|
||||
comment = All Printers
|
||||
path = /var/spool/samba
|
||||
browseable = no
|
||||
public = yes
|
||||
guest ok = yes
|
||||
writable = no
|
||||
printable = yes
|
||||
printer admin = SMBUSER
|
||||
|
||||
[print$]
|
||||
comment = Printer Drivers
|
||||
path = /etc/samba/drivers
|
||||
browseable = yes
|
||||
guest ok = no
|
||||
read only = yes
|
||||
write list = SMBUSER
|
||||
|
||||
[ext]
|
||||
comment = Storage
|
||||
path = /ext
|
||||
writable = yes
|
||||
public = no
|
||||
valid users = SMBUSER
|
||||
force create mode = 0777
|
||||
Reference in New Issue
Block a user