mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 08:15:52 +03:00
[PR #129] [MERGED] domain: introduce UserId to make uid case insensitive #557
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#557
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/129
Author: @nitnelave
Created: 3/26/2022
Status: ✅ Merged
Merged: 3/26/2022
Merged by: @nitnelave
Base:
main← Head:user_id📝 Commits (1)
3e675bedomain: introduce UserId to make uid case insensitive📊 Changes
13 files changed (+299 additions, -181 deletions)
View changed files
📝
server/src/domain/error.rs(+1 -1)📝
server/src/domain/handler.rs(+49 -17)📝
server/src/domain/opaque_handler.rs(+3 -3)📝
server/src/domain/sql_backend_handler.rs(+82 -50)📝
server/src/domain/sql_opaque_handler.rs(+25 -14)📝
server/src/domain/sql_tables.rs(+38 -1)📝
server/src/infra/auth_service.rs(+10 -10)📝
server/src/infra/configuration.rs(+6 -3)📝
server/src/infra/graphql/mutation.rs(+8 -7)📝
server/src/infra/graphql/query.rs(+12 -9)📝
server/src/infra/ldap_handler.rs(+43 -44)📝
server/src/infra/sql_backend_handler.rs(+6 -6)📝
server/src/infra/tcp_backend_handler.rs(+16 -16)📄 Description
Note that if there was a non-lowercase user already in the DB, it cannot
be found again. To fix this, run in the DB:
sqlite> UPDATE users SET user_id = LOWER(user_id);
Fixes #125
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.