From a673a6aa4532afaecb3ceddd29d421eff5e77569 Mon Sep 17 00:00:00 2001 From: dada513 Date: Fri, 10 Jun 2022 18:30:34 +0200 Subject: [PATCH] get working usernames --- example_configs/wg_portal.env.example | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example_configs/wg_portal.env.example b/example_configs/wg_portal.env.example index 539c8be..27c3e23 100644 --- a/example_configs/wg_portal.env.example +++ b/example_configs/wg_portal.env.example @@ -9,7 +9,7 @@ LDAP_BASEDN: "dc=example,dc=com" LDAP_USER: "uid=admin,ou=people,dc=example,dc=com" LDAP_PASSWORD: "CHANGEME" -LDAP_LOGIN_FILTER: "(&(objectClass=person)(mail={{login_identifier}}))" +LDAP_LOGIN_FILTER: "(&(objectClass=person)(|(mail={{login_identifier}})(uid={{login_identifier}})))" LDAP_SYNC_FILTER: "(&(objectClass=person)(mail=*))" LDAP_ADMIN_GROUP: "uid=everyone,ou=groups,dc=example,dc=com" LDAP_ATTR_EMAIL: "mail"