Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
idp-ldap: Fix create-with-login command (#5036)
Currently, LDAP create-with-login command is not working properly when the LDAP user does not have admin:CreateServiceAccount permission. The permission is normally not needed since a user is allowed to create a service account for itself. In that case, a temporary account should be created and a new service account should be issued to the temporary account access key, and not to the LDAP username as what the code currently does. This commit will send the correct target user in that case to make create-with-login always successful. Co-authored-by: Anis Eleuch <[email protected]>
- Loading branch information