many changes
This commit is contained in:
9
samba/config/avahi/samba.service
Normal file
9
samba/config/avahi/samba.service
Normal file
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" standalone='no'?>
|
||||
<!DOCTYPE service-group SYSTEM "avahi-service.dtd">
|
||||
<service-group>
|
||||
<name replace-wildcards="yes">%h</name>
|
||||
<service>
|
||||
<type>_smb._tcp</type>
|
||||
<port>445</port>
|
||||
</service>
|
||||
</service-group>
|
||||
2
samba/config/runit/avahi/run
Executable file
2
samba/config/runit/avahi/run
Executable file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh -x
|
||||
exec avahi-daemon --no-rlimits
|
||||
3
samba/config/runit/nmbd/run
Executable file
3
samba/config/runit/nmbd/run
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh -x
|
||||
sleep 6
|
||||
exec nmbd --foreground
|
||||
3
samba/config/runit/samba/run
Executable file
3
samba/config/runit/samba/run
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh -x
|
||||
sleep 2
|
||||
exec smbd --foreground
|
||||
3
samba/config/runit/wsdd2/run
Executable file
3
samba/config/runit/wsdd2/run
Executable file
@@ -0,0 +1,3 @@
|
||||
#!/bin/sh -x
|
||||
sleep 10
|
||||
exec /usr/sbin/wsdd2
|
||||
31
samba/config/samba/smb.conf
Normal file
31
samba/config/samba/smb.conf
Normal file
@@ -0,0 +1,31 @@
|
||||
[global]
|
||||
server role = standalone server
|
||||
log file = /dev/stdout
|
||||
dns proxy = no
|
||||
|
||||
# password stuff
|
||||
passdb backend = smbpasswd
|
||||
|
||||
obey pam restrictions = yes
|
||||
security = user
|
||||
printcap name = /dev/null
|
||||
load printers = no
|
||||
dns proxy = no
|
||||
wide links = yes
|
||||
follow symlinks = yes
|
||||
unix extensions = no
|
||||
acl allow execute always = yes
|
||||
|
||||
# MacOS Compatibility options
|
||||
vfs objects = catia fruit streams_xattr
|
||||
|
||||
# Special configuration for Apple's Time Machine
|
||||
fruit:model = TimeCapsule
|
||||
fruit:aapl = yes
|
||||
|
||||
# fix filenames with special chars (should be default)
|
||||
mangled names = no
|
||||
dos charset = CP850
|
||||
unix charset = UTF-8
|
||||
|
||||
# Docker Envs global config options
|
||||
Reference in New Issue
Block a user