many changes

This commit is contained in:
2025-02-13 22:40:44 +00:00
parent 867375b286
commit 80d39a13a6
15 changed files with 366 additions and 3 deletions

View 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
View File

@@ -0,0 +1,2 @@
#!/bin/sh -x
exec avahi-daemon --no-rlimits

3
samba/config/runit/nmbd/run Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/sh -x
sleep 6
exec nmbd --foreground

3
samba/config/runit/samba/run Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/sh -x
sleep 2
exec smbd --foreground

3
samba/config/runit/wsdd2/run Executable file
View File

@@ -0,0 +1,3 @@
#!/bin/sh -x
sleep 10
exec /usr/sbin/wsdd2

View 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