refactor: EVERYTHING

This commit is contained in:
selfhoster selfhoster 2026-08-31 19:11:34 +02:00
commit 7ab0898413
17 changed files with 1410 additions and 728 deletions

16
config.toml Normal file
View file

@ -0,0 +1,16 @@
# listen = "/tmp/ldap.sock"
listen = "127.0.0.1:3389"
[[mapping]]
from = "a.localhost"
to = "example.com"
# backend = "127.0.0.1:4389"
backend = "/tmp/lldap-4.sock"
user = "cn=stalwart,ou=people,dc=example,dc=com"
password = "adminadmin"
[[mapping]]
from = "b.localhost"
to = "example.com"
# backend = "127.0.0.1:5389"
backend = "/tmp/lldap-5.sock"
user = "cn=stalwart,ou=people,dc=example,dc=com"
password = "adminadmin"