https://github.com/shinmera/ldapper
Trivial LDAP server
https://github.com/shinmera/ldapper
ldap ldap-server sysops
Last synced: 27 days ago
JSON representation
Trivial LDAP server
- Host: GitHub
- URL: https://github.com/shinmera/ldapper
- Owner: Shinmera
- License: zlib
- Created: 2023-02-27T14:12:49.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2025-03-19T09:08:54.000Z (about 1 month ago)
- Last Synced: 2025-03-19T09:23:17.918Z (about 1 month ago)
- Topics: ldap, ldap-server, sysops
- Language: Common Lisp
- Homepage: https://shinmera.github.io/ldapper/
- Size: 123 KB
- Stars: 18
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.mess
- License: LICENSE
Awesome Lists containing this project
README
## About LDAPPER
This is a //very// simple implementation of an LDAP server, backed by a Postgres database. If you're fed up with the complicated mess that is OpenLDAP or ActiveDirectory, and just need a simple accounts database that can be accessed from other services, this is for you!## How To
Compile a binary for ldapper with ``sbcl --eval (asdf:make :ldapper)``, or download one from the "releases"(https://github.com/Shinmera/ldapper/releases/latest).Before you do anything else, please read the help documentation with the supported options and parameters thoroughly:
::
ldapper help
::To install the necessary systemd service and get everything set up, simply run install, passing along the database parameters:
::
LDAPPER_POSTGRES_PW=... ldapper install
::And that's it. Your LDAP server is up and running! To add new user accounts, you can invoke ldapper from any other place that has access to the Postgres database:
::
ldapper add MyAccount [email protected]
::You can also mass import accounts from an ldif file or the current OpenLDAP database:
::
ldapper import accounts.ldif
ldapper import <(slapcat -b "dc=example,dc=com")
::(note the ``--dry-run`` flag for that)
And that's pretty much it. For more information, see the help as described above.
## Docker build instructions
::
docker build -t ldapper .docker run --rm -it -v "$PWD:/app" ldapper
::This will build the `ldapper` binary in the current directory.