mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 08:15:52 +03:00
[GH-ISSUE #933] [BUG] bootstrap.sh user creation fails when id is a substring of another id #342
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#342
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?
Originally created by @tbnguyen1407 on GitHub (Jul 16, 2024).
Original GitHub issue: https://github.com/lldap/lldap/issues/933
Describe the bug
Bootstrapping users fails when one user's id contains another user's id.
To Reproduce
Expected behavior
Both users created successfully.
Logs
N/A
Additional context
Changing the order of the files ("john" before "johndoe") works.
@nitnelave commented on GitHub (Jul 17, 2024):
Note that bootstrap.sh is a user-contributed script, I don't claim to understand how it works.
I would welcome a PR fixing it, though. It's just bash, so even if you can't write rust it should be doable.