Hello, running Foreman 1.9.3. I’m unable to reset the “admin” account password for the Web login. I’ve tried the following:
- foreman-rake permissions:reset PASSWORD=changeme
- foreman-installer --foreman-admin-password=changeme
Neither one of these worked. In the logs, I can see this when I attempt to use the new creds:
Started POST “/users/login” for at 2019-01-02 22:27:17 +0000
2019-01-02 22:27:17 [app] [I] Processing by UsersController#login as HTML
2019-01-02 22:27:17 [app] [I] Parameters: {“utf8”=>“✓”, “authenticity_token”=>“JgJrxBDTd4qqbZydfuO+CILu+0xWvO053Wt0pCVjz+8=”, “login”=>{“login”=>“admin”, “password”=>"[FILTERED]"}, “commit”=>“Login”}
2019-01-02 22:27:17 [sql] [I] invalid user
2019-01-02 22:27:17 [app] [I] Redirected to https:///users/login
2019-01-02 22:27:17 [app] [I] Completed 302 Found in 24ms (ActiveRecord: 3.9ms)
2019-01-02 22:27:17 [app] [I]
I know that admin is not an invalid user because both commands above work without issue and output the name “admin” for the user whose password was reset. The only thing I can think of is I know this instance is tied to AD and I’m wondering if its trying to auth using LDAP and not locally? I’m sortof a newb at this so any help is very much appreciated.