Skip to content
This repository has been archived by the owner on Sep 16, 2020. It is now read-only.

LDAP users created in new AWX instance as part of tower-cli send can not login #712

Open
s10g opened this issue Jun 21, 2019 · 1 comment

Comments

@s10g
Copy link

s10g commented Jun 21, 2019

I had a working AWX instance with LDAP integration. I used tower-cli receive --all to export AWX data. I then nuked the existing AWX instance and re-deployed a new AWX instance and did a tower-cli send. After this was done, I could no longer login with my LDAP user. I made sure to set LDAP bind password correctly after tower-cli send. After deleting my user in AWX, I could login with my LDAP user.

Steps to reproduce:

  1. Do tower-cli receive --all > assets.json from a working AWX instance with LDAP integration
  2. Deploy a new and fresh AWX instance
  3. Do tower-cli send assets.json against new AWX instance
  4. Try to log in as one of your LDAP users

Please make tower-cli export users in such a way that they are created in a new AWX instance completely similar to where they came from such that LDAP logins continue to work after a receive/send.

@grimlokason
Copy link

Hello,

We had the same issue... To overcome it, we had to set the ldap_dn directly in the database ( in main_profile ) and delete the password ( in auth_user )

Best regards,

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants