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:
container_name: windows
image: dockurr/windows-arm
environment:
VERSION: "win11"
devices:
- /dev/kvm
cap_add:

View file

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

View file

@ -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$(</run/version)..."
echo " For support visit $SUPPORT"
echo "--------------------------------------------------------"
@ -61,7 +61,9 @@ SAMBA="/etc/samba/smb.conf"
echo ""
} | unix2dos > "$SHARE/readme.txt"
smbd -D
! smbd && smbd --debug-stdout
# Enable Web Service Discovery
wsdd -i dockerbridge -p -n "host.lan" &
return 0