From 0be7bb847f64367fbc64fbdea2d11684fbcdaa8f Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Sat, 4 Jan 2025 02:31:25 +0100 Subject: 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". --- server/Rocket.toml | 3 +++ 1 file changed, 3 insertions(+) (limited to 'server/Rocket.toml') 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 -- cgit v1.2.3-70-g09d2