mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 23:36:51 +00:00
Update samba.markdown
This commit is contained in:
parent
fba68cd78e
commit
6801beeb0a
@ -13,22 +13,12 @@ featured: true
|
|||||||
This add-on allows you to set up a [Samba](https://samba.org/) server to access Hass.io folders using Windows network shares.
|
This add-on allows you to set up a [Samba](https://samba.org/) server to access Hass.io folders using Windows network shares.
|
||||||
|
|
||||||
<p class='note warning'>
|
<p class='note warning'>
|
||||||
It is <strong>strongly recommended to set a username and password</strong>. By using guest mode, you expose your configuration and secrets to every user in local network.<br />
|
Be careful when setting up port forwarding for remote access. If you don't restrict access by setting a username and strong password, your configuration could be exposed to the entire internet!
|
||||||
Also be careful when setting up port forwarding for remote access. If you don't restrict access by setting a username and password, your configuration could be exposed to the entire internet!
|
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
"name": "hassio",
|
|
||||||
"workgroup": "WORKGROUP",
|
"workgroup": "WORKGROUP",
|
||||||
"guest": true,
|
|
||||||
"map": {
|
|
||||||
"config": true,
|
|
||||||
"addons": true,
|
|
||||||
"share": true,
|
|
||||||
"backup": true,
|
|
||||||
"ssl": false
|
|
||||||
},
|
|
||||||
"username": "",
|
"username": "",
|
||||||
"password": "",
|
"password": "",
|
||||||
"interface": "eth0",
|
"interface": "eth0",
|
||||||
@ -41,58 +31,18 @@ Also be careful when setting up port forwarding for remote access. If you don't
|
|||||||
```
|
```
|
||||||
|
|
||||||
{% configuration %}
|
{% configuration %}
|
||||||
name:
|
|
||||||
description: Set netbios name of Hass.io device.
|
|
||||||
required: false
|
|
||||||
default: "`hassio`"
|
|
||||||
type: string
|
|
||||||
workgroup:
|
workgroup:
|
||||||
description: Set network workgroup name.
|
description: Set network workgroup name.
|
||||||
required: false
|
required: false
|
||||||
default: "`WORKGROUP`"
|
default: "`WORKGROUP`"
|
||||||
type: string
|
type: string
|
||||||
guest:
|
|
||||||
description: Allow login without a username or password.
|
|
||||||
required: false
|
|
||||||
default: true
|
|
||||||
type: boolean
|
|
||||||
map:
|
|
||||||
description: Control which folders will be exposed.
|
|
||||||
required: false
|
|
||||||
type: map
|
|
||||||
keys:
|
|
||||||
config:
|
|
||||||
description: The Home Assistant configuration folder
|
|
||||||
required: false
|
|
||||||
default: true
|
|
||||||
type: boolean
|
|
||||||
addons:
|
|
||||||
description: The local custom addons repository
|
|
||||||
required: false
|
|
||||||
default: true
|
|
||||||
type: boolean
|
|
||||||
share:
|
|
||||||
description: The folder that can be accessed by add-ons and Home Assistant
|
|
||||||
required: false
|
|
||||||
default: true
|
|
||||||
type: boolean
|
|
||||||
backup:
|
|
||||||
description: Access to snapshot files
|
|
||||||
required: false
|
|
||||||
default: true
|
|
||||||
type: boolean
|
|
||||||
ssl:
|
|
||||||
description: Certificate storage (Careful! Sharing is set to `false` by default)
|
|
||||||
required: false
|
|
||||||
default: false
|
|
||||||
type: boolean
|
|
||||||
username:
|
username:
|
||||||
description: Username for logging in if guest login is not used.
|
description: Username for logging in if guest login is not used.
|
||||||
required: false
|
required: true
|
||||||
type: string
|
type: string
|
||||||
password:
|
password:
|
||||||
description: Password for `username`. An empty password is not supported.
|
description: Password for `username`. An empty password is not supported.
|
||||||
required: false
|
required: true
|
||||||
type: string
|
type: string
|
||||||
interface:
|
interface:
|
||||||
description: Interface that will start the share. Normally this is `eth0` for ethernet wired connection and `wlan0` for wireless connection. If you are running on an Intel NUC this could also be `enp3s0` for ethernet or `wlp5s0` for wireless connection.
|
description: Interface that will start the share. Normally this is `eth0` for ethernet wired connection and `wlan0` for wireless connection. If you are running on an Intel NUC this could also be `enp3s0` for ethernet or `wlp5s0` for wireless connection.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user