feat: Basic HTTP listener

This commit is contained in:
selfhoster selfhoster 2026-09-03 21:50:32 +02:00
commit 452da73413
7 changed files with 350 additions and 7 deletions

View file

@ -153,7 +153,7 @@ fn search_entry_from_user(user: &User, req_attrs: &[String]) -> LdapSearchResult
for attr in req_attrs {
if let Some(attr_value) = match attr.as_str() {
"uid" => Some(user.username.clone()),
"cn"|"mail" => Some(user.mail.clone()),
"cn" | "mail" => Some(user.mail.clone()),
_ => {
tracing::warn!("Ignoring unknown attr in search query: {attr}");
None