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

0 votes
Accepted answer

check crowd info your confluence database and see if it matches with the crowd.properties 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.

2 votes

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/crowd.properties should contain something like

application.name                        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.properties
  • crowd\etc\crowd.properties
  • crowd\etc\openidserver.properties
  • crowd\client\conf\crowd.properties
  • crowd\crowd-openidserver-webapp\WEB-INF\classes
  • Confluence\confluence\WEB-INF\classes\crowd.properties

But I still get the following logentries:

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

I really don't know what to do next :(

What does atlassian-crowd.log says ?

The logfile says:

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

I also tried to set the passwords in all crowd.properties 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 [plugin.rest.filter.BasicApplicationAuthenticationFilter] Application 'confluence' failed authentication

Suggest an answer

Log in or Sign up to answer
Community showcase
Posted Monday in Confluence

Organizing your space just got easier - Page Tree Drag & Drop is here

Hi Community! I’m Elaine, Confluence Product Manager. You may have read my earlier post about page tree in space navigation sidebar. I'm excited to share another improvement that helps you organize ...

158 views 3 5
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