meta: Rename ldap-rp (that one's available)
This commit is contained in:
parent
3331e431dd
commit
cd1790972e
4 changed files with 29 additions and 28 deletions
13
README.md
13
README.md
|
|
@ -1,4 +1,4 @@
|
|||
# multildap
|
||||
# ldap-rp
|
||||
|
||||
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).
|
||||
|
||||
|
|
@ -8,6 +8,7 @@ Proxy LDAP requests to different LDAP servers based on base DN. Based on code fr
|
|||
- [x] LDAP bind requests
|
||||
- [x] LDAP search requests
|
||||
- [x] Configurable listening port
|
||||
- [ ] Default fallback to `/etc/ldap-rp/config.toml`
|
||||
- [x] Unix Domain Socket support (incoming requests)
|
||||
- [ ] Unix Domain Socket garbage collection (incoming requests)
|
||||
- [ ] Unix Domain Socket support (outgoing requests)
|
||||
|
|
@ -36,13 +37,13 @@ to = "example.com"
|
|||
backend = "127.0.0.1:5389"
|
||||
```
|
||||
|
||||
By default, `multildap` will look for a config file in `/etc/multildap/config.toml` but you can change that
|
||||
with the `--config` CLI flag.
|
||||
~~By default, `ldap-rp` will look for a config file in `/etc/ldap-rp/config.toml` but you can change that
|
||||
with the `--config` CLI flag.~~
|
||||
|
||||
You can now run:
|
||||
|
||||
```
|
||||
multildap --config config.toml
|
||||
ldap-rp --config config.toml
|
||||
```
|
||||
|
||||
# Testing your setup
|
||||
|
|
@ -52,7 +53,7 @@ Once you have a LDAP server running, you can test your settings with the `ldapwh
|
|||
```bash
|
||||
# Test when listening on port 3389
|
||||
ldapwhoami -H ldap://localhost:3389 -D "cn=b,ou=people,dc=a,dc=localhost" -W
|
||||
# Test when listening on socket /run/multildap/multildap.sock, where `/` is escaped
|
||||
# Test when listening on socket /run/ldap-rp/ldap-rp.sock, where `/` is escaped
|
||||
# with `%2F` and the protocol is changed to `ldapi`
|
||||
ldapwhoami -H ldapi://%2Frun%2Fmultildap%2Fmultildap.sock -D "cn=b,ou=people,dc=a,dc=localhost" -W
|
||||
ldapwhoami -H ldapi://%2Frun%2Fldap-rp%2Fldap-rp.sock -D "cn=b,ou=people,dc=a,dc=localhost" -W
|
||||
```
|
||||
|
|
|
|||
Loading…
Reference in a new issue