A tiny LDAP server finally gave every person in my house one account that works across all my apps
Stop creating accounts everywhere.
In his home, an individual with a Dell Latitude laptop serves as the primary server for over 30 containers. Among these containers are Jellyfin, Nextcloud, and Immich, which are frequently used by family members. The user frequently resets passwords for these apps, leading to the discovery of LLDAP, a lightweight LDAP server. LLDAP is a protocol that allows a single source of truth for authentication across multiple self-hosted apps, eliminating the need for separate accounts per app.
The user finds LLDAP suitable for their setup due to its small memory footprint and Docker compatibility.
The installation process is straightforward, with a few key steps such as selecting the appropriate network configuration for the apps to connect to LLDAP and configuring the necessary settings in apps like Nextcloud and Jellyfin. It's essential to pay close attention to group filters and custom query settings to avoid unexpected account creation or loss of existing accounts. The initial setup process for Immich is more challenging, requiring the use of OpenID Connect (OIDC) as a workaround.
While LLDAP provides a seamless authentication experience for most apps, it introduces a single point of failure if the container goes down. The user learns to handle this situation by ensuring local account functionality remains intact and maintaining regular backups of LDAP data. Despite the initial hurdles, the user concludes that LLDAP is a valuable addition to their home server setup, streamlining the authentication process for their family apps.
Rewritten by urgent.news; may contain errors — check the original.
Source: xda-developers.com