-
Notifications
You must be signed in to change notification settings - Fork 594
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LDAP login works only once per user #507
Comments
Just confirming I can replicate this issue on the following: ENVIRONMENT
|
I face the same issue.
there is one required user attribute value missing in the API output (results in missing ldap label in the GUI)
should be something like:
also missing, but less critical for ldap to work
I was able to fix it, by directly setting ldap_dn in the database table main_profile (dirty hack).
|
This seems to be an issue on the AWX side; ansible/awx#10883 |
@kurokobo should be fixed by ansible/awx#10965 |
@tchellomello |
script example for adjust root@awxansible:~# cat ajusta-usuarios.sh tower-cli user list --all-pages | egrep -v '(==|admin|username)' | awk -F ' ' '{print$2}' > /tmp/usuarios.txt for U in $(cat /tmp/usuarios.txt); do |
ISSUE TYPE
SUMMARY
After configuring LDAP, I'm able to login. Attributes and groups seem to sync correctly, After logging out however I can no longer login with that same username. The only error in the
awx-task
log isawx.api.generics Login failed for user
.ENVIRONMENT
STEPS TO REPRODUCE
EXPECTED RESULTS
User should be able to login again successfully.
ACTUAL RESULTS
User can only login once.
ADDITIONAL INFORMATION
Redacted config as follows:
Deleting the LDAP user using the admin account seems to allow logging in again.
AWX-OPERATOR LOGS
The text was updated successfully, but these errors were encountered: