A very simple DN-rewriting LDAP reverse proxy (useful for multiple LLDAP instances)
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2026-08-20 21:45:33 +02:00
src feat: Initial implementation (bind/search/whoami) 2026-08-20 21:45:33 +02:00
.gitignore feat: Initial implementation (bind/search/whoami) 2026-08-20 21:45:33 +02:00
Cargo.lock feat: Initial implementation (bind/search/whoami) 2026-08-20 21:45:33 +02:00
Cargo.toml feat: Initial implementation (bind/search/whoami) 2026-08-20 21:45:33 +02:00
LICENSE.md feat: Initial implementation (bind/search/whoami) 2026-08-20 21:45:33 +02:00
README.md feat: Initial implementation (bind/search/whoami) 2026-08-20 21:45:33 +02:00

multildap

Proxy LDAP requests to different LDAP servers based on base DN. Based on code from kanidm/ldap-proxy under the MPL license.

Features

  • No TLS setup ; use only in trusted networks
  • LDAP bind requests
  • LDAP search requests

Configuration

Create a configuration file config.toml with the following:

[[mapping]]
from = "a.localhost"
to = "example.com"
backend = "127.0.0.1:4389"
[[mapping]]
from = "b.localhost"
to = "example.com"
backend = "127.0.0.1:5389"

Running

cargo run -- --config config.toml