A very simple DN-rewriting LDAP reverse proxy (useful for multiple LLDAP instances)
- Rust 100%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| src | ||
| .gitignore | ||
| Cargo.lock | ||
| Cargo.toml | ||
| LICENSE.md | ||
| README.md | ||
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