mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 00:05:50 +03:00
[PR #981] [MERGED] server: Clarify logging of login attempts and failures #1051
Labels
No labels
backend
blocked
bug
cleanup
dependencies
docker
documentation
duplicate
enhancement
enhancement
frontend
github_actions
good first issue
help wanted
help wanted
integration
invalid
ldap
pull-request
question
rust
rust
tests
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/lldap-lldap#1051
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/lldap/lldap/pull/981
Author: @nitnelave
Created: 9/26/2024
Status: ✅ Merged
Merged: 9/26/2024
Merged by: @nitnelave
Base:
main← Head:logging📝 Commits (1)
010a62eserver: Clarify logging of login attempts and failures📊 Changes
3 files changed (+43 additions, -60 deletions)
View changed files
📝
server/src/domain/error.rs(+1 -1)📝
server/src/domain/sql_opaque_handler.rs(+7 -5)📝
server/src/infra/auth_service.rs(+35 -54)📄 Description
That way, it becomes doable to automate log monitoring for too many failed login attempts.
Note that OPAQUE logins don't keep the associated username, so they cannot log which user successfully logged in or not; in addition, the client knows between the 2 queries whether the password was correct without having to tell the server.
Sample logs:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.