From 9f7667c6134a9616427d40e8ccfb7b161a8d73f6 Mon Sep 17 00:00:00 2001 From: Kroese Date: Tue, 26 Mar 2024 02:33:22 +0100 Subject: [PATCH] fix: Log samba to stdout (#50) --- docker-compose.yml | 2 ++ readme.md | 2 ++ src/samba.sh | 8 +++++--- 3 files changed, 9 insertions(+), 3 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index db9b1e9..0111534 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -3,6 +3,8 @@ services: windows: container_name: windows image: dockurr/windows-arm + environment: + VERSION: "win11" devices: - /dev/kvm cap_add: diff --git a/readme.md b/readme.md index aeb4c07..bd3ae1b 100644 --- a/readme.md +++ b/readme.md @@ -29,6 +29,8 @@ services: windows: container_name: windows image: dockurr/windows-arm + environment: + VERSION: "win11" devices: - /dev/kvm cap_add: diff --git a/src/samba.sh b/src/samba.sh index 5cc1cc8..18f7687 100644 --- a/src/samba.sh +++ b/src/samba.sh @@ -23,7 +23,7 @@ SAMBA="/etc/samba/smb.conf" echo " security = user" echo " guest account = nobody" echo " map to guest = Bad User" - echo " server min protocol = SMB2" + echo " server min protocol = NT1" echo "" echo " # disable printing services" echo " load printers = no" @@ -41,7 +41,7 @@ SAMBA="/etc/samba/smb.conf" echo " force group = root" } > "$SAMBA" -{ echo "--------------------------------------------------------" +{ echo "--------------------------------------------------------" echo " $APP for Docker v$( "$SHARE/readme.txt" -smbd -D +! smbd && smbd --debug-stdout + +# Enable Web Service Discovery wsdd -i dockerbridge -p -n "host.lan" & return 0