I deleted an linked application in Jira and it broke external authentication with Crowd. It has been a few days, so what I did is a little foggy.
I used the instructions to enable the Jira Internal Directory and admin user.
I reset the admin user's password (user is root). Using the example code to reset password to 'sphere'.
User exists, has jira-administrator and jira-user privileges.
Crowd directory is disabled. Internal directory ordered to the top of the list.
NOT using Crowd SSO (it is disabled).
Unable to login user root. Log says "tried to login but they do not have USE permission or weren't found."
The log is posting the following:
____ Attempting login for : '/rest/gadget/1.0/login'
login : 'root' and password provided - remember me : false - attempting login request
runAuthentication : 'root' does not require elevated security check. Attempting authentication...
login : 'root' has not been authenticated
login : 'root' could not be authenticated with the given password
login : 'root' tried to login but they do not have USE permission or weren't found. Deleting remember
Any help is appreciated.
Thank you
Kevin
You might have reset a password for admin (the use of "sphere" suggests you've been using the standard SQL reset method), but are you sure the admin user is in one of the groups that gives it the ability to log in too?
Thanks Nic for taking time to look at this.
Yes, I am using the SQL reset method, I am pretty sure the user has the ability to login. cwd_membership has this user a member of the jira-administrators and jira-users group. Global permissions has given the jira-users the USE permission, the jira-administrators has the System Administrators and Administrators permissions.
I am willing to pay someone to help me sort this out. If you think you can help, contact me off line.
Thanks
Kevin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Is there any other reason Jira might not be using ANY directory? It feels like even the internal directory is being ignored. It is active, and it is at the top of the list. But it refuses to acknowledge the admin user I am using.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I turned on a number of security logs in log4j.properties, but I am not seeing anything that would help me understand why I am unable to authenticate the user.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I also tried just resetting the password via the GUI, but I get an error 500 and the following in the log:
"User login details can not be reset for this JIRA site."
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.