mirror of
https://github.com/aljazceru/addons.git
synced 2025-12-17 05:04:21 +01:00
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:
@@ -1,5 +1,8 @@
|
||||
# Changelog
|
||||
|
||||
## 6
|
||||
- Enable ntlm auth for Windows10
|
||||
|
||||
## 5
|
||||
- Update Samba to version 4.8.4
|
||||
|
||||
|
||||
@@ -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/",
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -15,3 +15,4 @@
|
||||
|
||||
#guest account = root
|
||||
#map to guest = Bad Password
|
||||
#ntlm auth = yes
|
||||
|
||||
Reference in New Issue
Block a user