feat: Initial implementation (bind/search/whoami)
This commit is contained in:
commit
d42508b15e
14 changed files with 2325 additions and 0 deletions
30
README.md
Normal file
30
README.md
Normal file
|
|
@ -0,0 +1,30 @@
|
|||
# multildap
|
||||
|
||||
Proxy LDAP requests to different LDAP servers based on base DN. Based on code from [kanidm/ldap-proxy](https://github.com/kanidm/ldap-proxy/) under the [MPL license](LICENSE.md).
|
||||
|
||||
## Features
|
||||
|
||||
- [x] No TLS setup ; use only in trusted networks
|
||||
- [x] LDAP bind requests
|
||||
- [x] LDAP search requests
|
||||
|
||||
## Configuration
|
||||
|
||||
Create a configuration file `config.toml` with the following:
|
||||
|
||||
```toml
|
||||
[[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
|
||||
```
|
||||
Loading…
Reference in a new issue