LDAPPER is a lightweight LDAP server that cuts through the complexity of traditional solutions like OpenLDAP and ActiveDirectory. Built on a PostgreSQL backend, it allows you to set up a user account database effortlessly. With easy installation and management commands, LDAPPER is perfect for those who need straightforward directory services without the hassle.
Introduction to LDAPPER
LDAPPER is a lightweight and straightforward implementation of an LDAP server powered by a Postgres database. If you're looking for an uncomplicated alternative to complex solutions like OpenLDAP or ActiveDirectory, LDAPPER is designed to meet your needs for a simple accounts database accessible by various services.
Key Features
- Simplicity: Designed for ease of use, LDAPPER offers a hassle-free setup and operation.
- Postgres Backend: Leveraging a robust Postgres database, LDAPPER ensures reliable data storage and quick access.
- User Management: Effortlessly manage user accounts with intuitive commands.
Getting Started with LDAPPER
To compile LDAPPER, simply execute:
sbcl --eval (asdf:make :ldapper)
Alternatively, you can download a pre-compiled binary from the releases.
Before proceeding, familiarize yourself with the supported options and parameters by running:
ldapper help
To set up the systemd service and get everything running smoothly, execute the following command with your database parameters:
LDAPPER_POSTGRES_PW=... ldapper install
Once you run this command, your LDAP server will be operational!
Adding User Accounts
Add new user accounts using the command:
ldapper add MyAccount whatever@example.com
For bulk user imports, LDAPPER supports importing from an LDIF file or an existing OpenLDAP database with commands like:
ldapper import accounts.ldif
ldapper import <(slapcat -b "dc=example,dc=com")
(Be sure to use the --dry-run
flag for safety.)
Docker Support
For Docker enthusiasts, building and running LDAPPER is straightforward:
docker build -t ldapper .
docker run --rm -it -v "$PWD:/app" ldapper
This will compile the LDAPPER binary directly in your current directory.
Whether you're developing new applications or looking for a simple accounts management solution, LDAPPER delivers a seamless experience. Explore the documentation for further details and unlock the full potential of your LDAP server!