glauth
A lightweight LDAP server for development, home use, or CI
What is glauth?
A lightweight LDAP server for development, home use, or CI
Overview of glauth
What it is
GLAuth (Go-lang LDAP Authentication) is a lightweight LDAP authentication server written in Go. It is designed for development environments, home labs, and continuous integration (CI) pipelines. The project provides a secure and easy-to-use alternative to OpenLDAP and Active Directory, with configurable backends for storing user directories.
Key features
- Centrally manage accounts, SSH keys, Linux accounts, and passwords across infrastructure.
- Supports multiple backends: local file, S3, SQL database, proxy to existing LDAP servers, and PAM via plugins.
- Provides Two-Factor Authentication (2FA) transparently to applications.
- Allows chaining multiple backends to inject features.
- Lightweight and simple to configure, with a single configuration file.
Use cases
Centralizing account management across Linux servers, macOS machines, and support applications such as Jenkins, Apache/Nginx, and Graylog2. It is suitable for development, home labs, and CI environments where a full LDAP directory is unnecessary.
Getting started
- Download a precompiled binary from the releases page.2. Download the example config file.3. Start the GLAuth server, referencing the path to the desired config file with
-c../glauth64 -c sample-simple.cfg4. Test with traditional LDAP tools:ldapsearch -LLL -H ldap://localhost:3893 -D cn=serviceuser,ou=svcaccts,dc=glauth,dc=com -w mysecret -x -bdc=glauth,dc=com cn=hackers
License and pricing
GLAuth is open source under the MIT license. No pricing information is provided.
Based on the project's public README and repository metadata.