LDAP-REST(1)

πŸ“¦ version 0.6.0, in ubuntu stonking

πŸ’– 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 are error, 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