Update smb.conf (#420)

* Update smb.conf

windows 10 clients cannot connect with user/password, only guest.

* Update config.json

* Update CHANGELOG.md

* Update smb.conf

* Update run.sh
This commit is contained in:
adipose
2018-10-05 05:37:26 -07:00
committed by Pascal Vizeli
parent 3e4f8e468e
commit 075be5b7b5
4 changed files with 6 additions and 1 deletions

View File

@@ -1,5 +1,8 @@
# Changelog
## 6
- Enable ntlm auth for Windows10
## 5
- Update Samba to version 4.8.4

View File

@@ -1,6 +1,6 @@
{
"name": "Samba share",
"version": "5",
"version": "6",
"slug": "samba",
"description": "Expose Hass.io folders with SMB/CIFS",
"url": "https://home-assistant.io/addons/samba/",

View File

@@ -68,6 +68,7 @@ else
sed -i "s|#valid users|valid users|g" /etc/smb.conf
sed -i "s|#force user|force user|g" /etc/smb.conf
sed -i "s|#force group|force group|g" /etc/smb.conf
sed -i "s|#ntlm auth|ntlm auth|g" /etc/smb.conf
addgroup -g 1000 "$USERNAME"
adduser -D -H -G "$USERNAME" -s /bin/false -u 1000 "$USERNAME"

View File

@@ -15,3 +15,4 @@
#guest account = root
#map to guest = Bad Password
#ntlm auth = yes