LDAP-REST(1)
π NAME π
ldap-rest β ok bestie, the name is literally ldap-rest, that's it, that's the whole name, slay β¨
π¦ DESCRIPTION π¦
ldap-rest β Lightweight LDAP directory manager π
π Usage:
ldap-rest [OPTIONS]
πΈ Description:
ngl, this starts the ldap-rest server, which serves up a REST API and a web interface for managing LDAP directories. All the config vibes come through either environment variables or command-line arguments β pick your fighter π
β Main options:
--help,-hβ shows this help message, no thoughts, just help π«Ά--port PORTβ the server port (default:8080) π₯--ldap-url URLβ the LDAP server URL, where the directory actually lives--ldap-dn DNβ the LDAP bind DN--ldap-pwd PASSWORDβ the LDAP bind password (keep it secret, keep it safe π)--ldap-base BASEβ the LDAP base DN--plugin PLUGINβ load a plugin, and heads up because you can specify this one multiple times (stack them like charms on a bracelet π)--api-prefix PREFIXβ the API prefix (default:/api) β¨--log-level LEVELβ the log level, and the valid ones areerror,warn,info,debugπ
See plugin documentation for additional options. (The plugins have their own lore, bestie β go read their docs, iykyk π)
π Environment Variables:
Okay so this is the iconic part β every single command-line option can also be set via environment variables. You do it by prefixing with DM_ and writing it in uppercase with underscores. Example: --ldap-url becomes DM_LDAP_URL π§
β¨ EXAMPLES β¨
# Start server with default configuration npx ldap-rest
# Start with specific LDAP server npx ldap-rest --ldap-url ldap://localhost:389
# Load specific plugins npx ldap-rest --plugin ldapGroups --plugin ldapOrganization
and that's the whole page, periodt π
β¨ This was ldap-rest version 0.6.0, dated August 2026, served fresh out of the LDAP-REST(1) manual. Go forth and manage those directories, main character ππ¦π
π¦ where this page comes from
- ubuntu stonking: ldap-rest 0.6.0-1 Β· AGPL-3.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms