fix: Log samba to stdout (#50)

This commit is contained in:
Kroese 2024-03-26 02:33:22 +01:00 committed by GitHub
parent fa106aa3b7
commit 9f7667c613
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 9 additions and 3 deletions

View file

@ -3,6 +3,8 @@ services:
windows: windows:
container_name: windows container_name: windows
image: dockurr/windows-arm image: dockurr/windows-arm
environment:
VERSION: "win11"
devices: devices:
- /dev/kvm - /dev/kvm
cap_add: cap_add:

View file

@ -29,6 +29,8 @@ services:
windows: windows:
container_name: windows container_name: windows
image: dockurr/windows-arm image: dockurr/windows-arm
environment:
VERSION: "win11"
devices: devices:
- /dev/kvm - /dev/kvm
cap_add: cap_add:

View file

@ -23,7 +23,7 @@ SAMBA="/etc/samba/smb.conf"
echo " security = user" echo " security = user"
echo " guest account = nobody" echo " guest account = nobody"
echo " map to guest = Bad User" echo " map to guest = Bad User"
echo " server min protocol = SMB2" echo " server min protocol = NT1"
echo "" echo ""
echo " # disable printing services" echo " # disable printing services"
echo " load printers = no" echo " load printers = no"
@ -61,7 +61,9 @@ SAMBA="/etc/samba/smb.conf"
echo "" echo ""
} | unix2dos > "$SHARE/readme.txt" } | unix2dos > "$SHARE/readme.txt"
smbd -D ! smbd && smbd --debug-stdout
# Enable Web Service Discovery
wsdd -i dockerbridge -p -n "host.lan" & wsdd -i dockerbridge -p -n "host.lan" &
return 0 return 0