diff options
| author | Joel Klinghed <the_jk@spawned.biz> | 2025-01-04 02:31:25 +0100 |
|---|---|---|
| committer | Joel Klinghed <the_jk@spawned.biz> | 2025-01-04 02:31:25 +0100 |
| commit | 0be7bb847f64367fbc64fbdea2d11684fbcdaa8f (patch) | |
| tree | 4a22ceeadadc2767437614712114c2392402dc2a /server/Rocket.toml | |
| parent | d09ffb6ee8b872c69321b3a9d992f278224741dc (diff) | |
Support ldap in auth
Non-test auth is now using ldap for account syncing and authentication.
Test auth is still using hardcoded users (user and other). But it is
now also possible to login as "other".
Diffstat (limited to 'server/Rocket.toml')
| -rw-r--r-- | server/Rocket.toml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/server/Rocket.toml b/server/Rocket.toml index 00ead14..4f3137a 100644 --- a/server/Rocket.toml +++ b/server/Rocket.toml @@ -1,6 +1,9 @@ [default] secret_key = "itlYmFR2vYKrOmFhupMIn/hyB6lYCCTXz4yaQX89XVg=" session_max_age_days = 7 +ldap_url = "ldap://localhost:1389" +ldap_users = "ou=users,dc=example,dc=org" +ldap_filter = "(objectClass=posixAccount)" [default.databases.eyeballs] # root is needed for tests |
