Fix ldap login names with minus

marenz-skyflake
Sandro Jäckel 2023-01-04 11:29:06 +01:00
parent 13f85f26ed
commit 74198511ed
No known key found for this signature in database
GPG Key ID: B1763F8651144063
1 changed files with 2 additions and 0 deletions

View File

@ -127,6 +127,8 @@
LDAP_BASE = "ou=users,dc=c3d2,dc=de";
LDAP_SEARCH_FILTER = "(&(objectclass=person)(|(%{uid}=%{email})(%{mail}=%{email})))";
LDAP_UID = "uid";
# convert .,- (space) in LDAP usernames to underscore
LDAP_UID_CONVERSION_ENABLED = "true";
};
localDomain = "c3d2.social";
otpSecretFile = config.sops.secrets."mastodon/otp-secret".path;