New Users can not login to crowd

Somehow the integration crowd and confluence got broken :(.

I can crate new Users in confluence and even the authentication test for confluence in crowd is working, but when the user tries to log in to confluence he receives the message:

The following error(s) occurred:

  • Sorry, your username and password are incorrect. Please try again.

All users that where created before my coworker messed up the installation, can still log in, but only when the select the "remember me" checkbox after I activated the SSO.

I don't know where to look for more errors and how to fix them.

I noticed that new users are not added to the confluence table cwd_user, all users in ther can login.

How can fix this?

3 answers

1 accepted

This widget could not be displayed.

check crowd info your confluence database and see if it matches with the file

SELECT * FROM cwd_directory_attribute;

you're welcome. glad i could help

That was the location wher the old password was.

Now everythings works perfectly.

Thank you very much.

This widget could not be displayed.

Looking at the error message in the logs, the "confluence" application registered in Crowd has a different password. Either rest the password or change it to the correct one in Confluence User directory settings.

At which places do I have to reset password?

I don't want to miss a file or database entry.

solution A (no restart needed)

your $Confluence_Install/confluence/WEB-INF/classes/ should contain something like                        confluence
application.password                    <passwd>

take that passwd and use it to update your "confluence" application in crowd.

solution B (you will need to restart confluence)

in crowd go to your applications. select "confluence" and update the password there.

next step you will need to update the file i mentioned in solution A) and insert the new password there.

I managed to set all passwords to the same password:

I reset the password in Crowd under applications for crowd and confluence to the same value.

Also I set that password in the following files:

  • crowd\
  • crowd\etc\
  • crowd\etc\
  • crowd\client\conf\
  • crowd\crowd-openidserver-webapp\WEB-INF\classes
  • Confluence\confluence\WEB-INF\classes\

But I still get the following logentries:

2013-01-31 08:41:59,396 http-8095-2 INFO [] Application 'confluence' failed authentication

I really don't know what to do next :(
This widget could not be displayed.

What does atlassian-crowd.log says ?

The logfile says:

2013-01-28 18:17:16,377 http-8095-6 INFO [] Application 'confluence' failed authentication

I also tried to set the passwords in all to the same value and overwrote the password in the database. now it is a slightly different log entry:

2013-01-29 14:24:09,352 http-8095-1 INFO [] Application 'confluence' failed authentication

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Sep 17, 2018 in Confluence

Why start from scratch? Introducing four new templates for Confluence Cloud

Hi my Community friends!  For those who don't know me, I'm a product marketer on the Confluence Cloud team - nice to meet you! For those of you who do, you know that I've been all up in your Co...

556 views 7 6
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you