--- title: GLAuth created: 2026-06-07 updated: 2026-06-07 type: app tags: [catalogue, authentication, ldap, sso, go] confidence: high contested: false sources: [https://selfh.st/apps/?tag=Authentication, https://github.com/glauth/glauth] --- # 🔐 GLAuth > Serveur LDAP et authentification lĂ©ger, Ă©crit en Go, idĂ©al pour fournir un annuaire simple Ă  des services variĂ©s. ## 📋 Informations GĂ©nĂ©rales | Attribut | Valeur | |----------|--------| | **Nom** | GLAuth | | **Slug** | app-glauth | | **Description** | Serveur LDAP/Auth lĂ©ger en Go | | **Site officiel** | https://glauth.github.io/ | | **Repository** | https://github.com/glauth/glauth | | **Stars** | 2 821 ⭐ | | **Licence** | MIT | | **Langage principal** | Go | | **CatĂ©gorie** | Authentication | | **Tags** | [catalogue, authentication, ldap, sso, go] | ## 📝 Description GLAuth (Go-LDAP-Auth) est un serveur **LDAP v3** minimaliste Ă©crit en **Go**, conçu pour fournir un annuaire d'utilisateurs simple et lĂ©ger aux services qui dĂ©pendent de LDAP. C'est une alternative moderne Ă  **OpenLDAP** ou **389 Directory Server**, beaucoup plus simple Ă  configurer. GLAuth supporte **LDAP v3** (TCP/UDP), **LDAPS** (LDAP over TLS), le **backend YAML/JSON** pour dĂ©finir utilisateurs, groupes, suffixes, et offre la **haute disponibilitĂ©** via **BoltDB** ou **PostgreSQL**. Le projet peut Ă©galement servir de **SFTP** backend et de source d'auth pour **Nextcloud**, **Gitea**, **Jellyfin**, **GitLab**, etc. GLAuth n'est pas un IdM complet (pas de web UI, pas de MFA natif), mais c'est un excellent choix pour des **homelabs** ou **PME** qui veulent un annuaire LDAP fonctionnel en **quelques minutes**, sans la complexitĂ© d'OpenLDAP. Configuration par fichier simple, binaire unique, faible empreinte mĂ©moire. ## 🚀 Installation ### Via Docker (recommandĂ©) ```yaml # docker-compose.yml services: glauth: image: glauth/glauth:latest ports: - "3893:3893" # LDAP - "3894:3894" # LDAPS volumes: - ./glauth-config:/config command: ["-c", "/config/config.cfg"] ``` ### Installation manuelle Binaire Go tĂ©lĂ©chargeable, ou `go install github.com/glauth/glauth@latest`. Configuration via fichier `glauth.cfg` au format simple (HCL-like). ## ⚙ Configuration - **Backends** : YAML local, BoltDB, PostgreSQL - **Users / Groups** : dĂ©finition dans `config.cfg` ou backend - **Suffixes** : `dc=example,dc=com` - **LDAPS** : activer TLS avec cert/key - **SFTP Backend** : serveur SFTP basĂ© sur les utilisateurs LDAP - **High Availability** : mode cluster (BoltDB/PostgreSQL) ## 🔗 Alternatives - **OpenLDAP** — RĂ©fĂ©rence historique, complexe - **389 Directory Server** — IdM Red Hat, plus complet - **Kanidm** — IdM moderne en Rust - **LLDAP** — LDAP lĂ©ger en Rust, web UI ## 🔒 SĂ©curitĂ© - Activer **LDAPS** (port 3894) avec certificats valides - Ne **jamais** exposer le port LDAP (3893) sur Internet - Utiliser des **mots de passe forts** (b crypt natif) - Limiter les **bind DN** autorisĂ©s - Mettre Ă  jour rĂ©guliĂšrement ## 📚 Ressources - Site officiel : https://glauth.github.io/ - Repository GitHub : https://github.com/glauth/glauth - Documentation : https://github.com/glauth/glauth/blob/master/README.md ## 🔗 Pages LiĂ©es - [[cat-authentication]] (n'existe pas encore, OK) - [[app-kanidm]] — IdM moderne en Rust - [[app-keycloak]] — IdM enterprise - [[app-authentik]] — IdM moderne - [[app-traefik]] - [[recettes-docker-compose]] - [[securisation-home-lab]]