ldapper
1.0.3A simple LDAP server for user accounts.
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.
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 whatever@example.com
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.
System Information
Definition Index
-
ORG.SHIRAKUMO.LDAPPER
No documentation provided.-
EXTERNAL SPECIAL-VARIABLE *BASE-DN*
No documentation provided. -
EXTERNAL SPECIAL-VARIABLE *LDAP-SERVERS*
No documentation provided. -
EXTERNAL SPECIAL-VARIABLE *POSTGRES-DB*
No documentation provided. -
EXTERNAL SPECIAL-VARIABLE *POSTGRES-HOST*
No documentation provided. -
EXTERNAL SPECIAL-VARIABLE *POSTGRES-PASS*
No documentation provided. -
EXTERNAL SPECIAL-VARIABLE *POSTGRES-USER*
No documentation provided. -
EXTERNAL CONDITION ATTRIBUTE-REQUIRED
No documentation provided. -
EXTERNAL CONDITION AUTHENTICATION-FAILED
No documentation provided. -
EXTERNAL CONDITION LDAPPER-CONDITION
No documentation provided. -
EXTERNAL CONDITION LDAPPER-ERROR
No documentation provided. -
EXTERNAL CONDITION NO-SUCH-ACCOUNT
No documentation provided. -
EXTERNAL CONDITION PERMISSION-DENIED
No documentation provided. -
EXTERNAL CONDITION UNKNOWN-COMMAND
No documentation provided. -
EXTERNAL FUNCTION ACCOUNT->LDAP-RECORD
- ACCOUNT
- &KEY
- BASE-DN
- TRUSTED
- SKIP-DN
- ATTRIBUTES
No documentation provided. -
EXTERNAL FUNCTION ACCOUNT->LDIF-TEXT
- ACCOUNT
- &REST
- ARGS
- &KEY
- OUTPUT
- BASE-DN
- TRUSTED
- ATTRIBUTES
No documentation provided. -
EXTERNAL FUNCTION ACCOUNT-ADMIN-P
- ACCOUNT
No documentation provided. -
EXTERNAL FUNCTION (SETF ACCOUNT-ADMIN-P)
- ADMIN-P
- ACCOUNT
No documentation provided. -
EXTERNAL FUNCTION AUTHENTICATE
- ACCOUNT
- PASSWORD
No documentation provided. -
EXTERNAL FUNCTION CONNECT
No documentation provided. -
EXTERNAL FUNCTION DELETE-ACCOUNT
- ACCOUNT
No documentation provided. -
EXTERNAL FUNCTION DISCONNECT
No documentation provided. -
EXTERNAL FUNCTION EDIT-ACCOUNT
- ACCOUNT
- &KEY
- NAME
- REAL-NAME
- NOTE
- PASSWORD
- ALREADY-HASHED
- CLASSES
- ATTRIBUTES
No documentation provided. -
EXTERNAL FUNCTION ENSURE-ACCOUNT
- ACCOUNT-ISH
No documentation provided. -
EXTERNAL FUNCTION FILTER-ACCOUNTS
- FILTER
- &KEY
- LIMIT
No documentation provided. -
EXTERNAL FUNCTION FIND-ACCOUNT
- NAME
No documentation provided. -
EXTERNAL FUNCTION IMPORT-FROM-LDIF
- INPUT
- &REST
- ARGS
- &KEY
- DRY-RUN
- REQUIRED-ATTRIBUTES
- IGNORED-ATTRIBUTES
No documentation provided. -
EXTERNAL FUNCTION INSERT-ACCOUNT
- ACCOUNT
No documentation provided. -
EXTERNAL FUNCTION LDAP-RECORD->ACCOUNT
- RECORD
- &KEY
- IGNORED-ATTRIBUTES
No documentation provided. -
EXTERNAL FUNCTION LIST-ACCOUNTS
No documentation provided. -
EXTERNAL FUNCTION MAKE-ACCOUNT
- NAME
- &KEY
- PASSWORD
- REAL-NAME
- NOTE
- CLASSES
- ATTRIBUTES
- ALREADY-HASHED
No documentation provided. -
EXTERNAL FUNCTION PARSE-LDIF
- INPUT
No documentation provided. -
EXTERNAL FUNCTION PRINT-CONFIG
- &OPTIONAL
- STREAM
No documentation provided. -
EXTERNAL FUNCTION READ-CONFIG
No documentation provided. -
EXTERNAL FUNCTION READ-CONFIG-FILE
- FILE
No documentation provided. -
EXTERNAL FUNCTION READ-ENVVARS
No documentation provided. -
EXTERNAL FUNCTION SEARCH-ACCOUNTS
- ATTRIBUTE
- VALUE
- &KEY
- FULL
No documentation provided. -
EXTERNAL FUNCTION START
- &KEY
- SERVERS
No documentation provided. -
EXTERNAL FUNCTION STOP
No documentation provided. -
EXTERNAL GENERIC-FUNCTION NAME
- CONDITION
No documentation provided.
-