Files
truecharts/charts/stable/lldap/docs/installation-notes.md
T
kqmaverick fd338bec5c docs(authelia): authelia guide updates (#29702)
**Description**
Updates authelia guides with yaml

⚒️ Fixes  # 

**⚙️ Type of change**

- [ ] ⚙️ Feature/App addition
- [ ] 🪛 Bugfix
- [ ] ⚠️ Breaking change (fix or feature that would cause existing
functionality to not work as expected)
- [ ] 🔃 Refactor of current code

**🧪 How Has This Been Tested?**

**📃 Notes:**

**✔️ Checklist:**

- [ ] ⚖️ My code follows the style guidelines of this project
- [ ] 👀 I have performed a self-review of my own code
- [ ] #️⃣ I have commented my code, particularly in hard-to-understand
areas
- [ ] 📄 I have made corresponding changes to the documentation
- [ ] ⚠️ My changes generate no new warnings
- [ ] 🧪 I have added tests to this description that prove my fix is
effective or that my feature works
- [ ] ⬆️ I increased versions for any altered app according to semantic
versioning
- [ ] I made sure the title starts with `feat(chart-name):`,
`fix(chart-name):` or `chore(chart-name):`

** App addition**

If this PR is an app addition please make sure you have done the
following.

- [ ] 🖼️ I have added an icon in the Chart's root directory called
`icon.png`

---

_Please don't blindly check all the boxes. Read them and only check
those that apply.
Those checkboxes are there for the reviewer to see what is this all
about and
the status of this PR with a quick glance._
2024-11-26 15:37:04 +01:00

2.6 KiB

title
title
Installation notes

Default Configuration

LLDAP is configured using the default options generated by the application on first run. The exception to this is the 'Base DN for LDAP' option which has been exposed to the user.

// values.yaml
workload:
  main:
    podSpec:
      containers:
        main:
          env:
            # replace with your domain
            LLDAP_LDAP_BASE_DN: "dc=example,dc=com"
            # initial lldap admin account
            LLDAP_LDAP_USER_DN: admin
            # initial lldap admin email
            LLDAP_LDAP_USER_EMAIL: email@gmail.com
            # above user password in plain text
            LLDAP_LDAP_USER_PASS: somepassword
            # allow password reset using email
            LLDAP_SMTP_OPTIONS__ENABLE_PASSWORD_RESET: true
            # smtp setup (example is gmail)
            LLDAP_SMTP_OPTIONS__SERVER: smtp.gmail.com
            LLDAP_SMTP_OPTIONS__PORT: 587
            LLDAP_SMTP_OPTIONS__SMTP_ENCRYPTION: "STARTTLS"
            # gmail email address (username)
            LLDAP_SMTP_OPTIONS__USER: email@gmail.com
            # use a google app password if using gmail
            LLDAP_SMTP_OPTIONS__PASSWORD: somepassword
            # email address to show as sender
            LLDAP_SMTP_OPTIONS__FROM: "LLDAP Admin <no-reply@example.com>"
            # email address to show as reply address
            LLDAP_SMTP_OPTIONS__REPLY_TO: "Do not reply <no-reply@example.com>"

Usage

LLDAP can be used as the user backend for Authelia and Authentik as well as any other application that supports LDAP e.g. Jellyfin and Nextcloud. A specific guide for Authelia is available in this documentation but other authentication applications can be configured in a similar way.

When setting your bind user you should avoid using the admin user as this is a security risk. Instead, create a new user with the minimum permissions required for your application. LLDAP has a user group lldap_strict_readonly which can be used for this purpose. This group has read-only access to the LDAP database and can be used to create a new user with the minimum permissions required for your application. However, if you want to provide password reset then create a user in the lldap_password_manager group.

Support

  • If you need more details or have a more custom setup the documentation on the upstream is very useful so check the descriptions of the options there including example configs for various apps.
  • You can also reach us using Discord for real-time feedback and support

All Rights Reserved - The TrueCharts Project