mirror of
https://github.com/lldap/lldap.git
synced 2026-04-25 08:15:52 +03:00
[GH-ISSUE #706] Bootstrap with arbitrary groups-users #255
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#255
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 @quentinb69 on GitHub (Oct 17, 2023).
Original GitHub issue: https://github.com/lldap/lldap/issues/706
As an administrator I need to bootstrap Lldap with some pre-identified groups and users.
The users are "services accounts", and they need to be paired with groups.
Use case :
I have got an egg-chicken issue with the creation of the PostgreSQL DB, intialized from the backup in MinIO ; and MinIO needs Lldap (and PostgreSQL) to validate authentication and serve the backup.
If I can bootstrap Lldap with some preconfigured users/groups ; it would be sufficient, and i can re-mount the dump afterward.
More over the mechanic is already present with the default admin user ; maybe it can be customized to allow username/password/groups from the parameter file ?
Edit: right now the solution i'm using is via k8s jobs (i'm in kubernetes) to make some api call to the graphql endpoint, and then use the tool "set-password" to init password for the service account.
@nitnelave commented on GitHub (Oct 17, 2023):
The question has already come up here: https://github.com/lldap/lldap/issues/654
Short answer is: it's not something that we want to support as part of LLDAP, but it's easy to script it.
In particular, I want to keep the configuration simple.