mirror of
https://github.com/lldap/lldap.git
synced 2024-10-23 04:16:24 +00:00
example_configs: add chmod to home-assistant instructions
This commit is contained in:
parent
5bd00f24a2
commit
8f69e4badd
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@ Home Assistant configures ldap auth via the [Command Line Auth Provider](https:/
|
|||
The [auth script](lldap-ha-auth.sh) attempts to authenticate a user against an LLDAP server, using credentials provided via `username` and `password` environment variables. The first argument must be the URL of your LLDAP server, accessible from Home Assistant. You can provide an additional optional argument to confine allowed logins to a single group. The script will output the user's display name as the `name` variable, if not empty.
|
||||
|
||||
1. Copy the [auth script](lldap-ha-auth.sh) to your home assistant instance. In this example, we use `/config/lldap-auth.sh`.
|
||||
- Set the script as executable by running `chmod +x /config/lldap-auth-sh`
|
||||
2. Add the following to your configuration.yaml in Home assistant:
|
||||
```yaml
|
||||
homeassistant:
|
||||
|
@ -20,4 +21,4 @@ homeassistant:
|
|||
args: ["https://lldap.example.com", "homeassistant_user"]
|
||||
meta: true
|
||||
```
|
||||
3. Reload your config or restart Home Assistant
|
||||
3. Reload your config or restart Home Assistant
|
||||
|
|
Loading…
Reference in a new issue