Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

New Users can not login to crowd

Ben Williams January 28, 2013

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

1 vote
Answer accepted
C_ Faysal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 30, 2013

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

SELECT * FROM cwd_directory_attribute;

C_ Faysal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 30, 2013

you're welcome. glad i could help

Ben Williams January 30, 2013

That was the location wher the old password was.

Now everythings works perfectly.

Thank you very much.

2 votes
Jobin Kuruvilla [Adaptavist]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 28, 2013

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.

C_ Faysal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 28, 2013

agree 100%

Ben Williams January 29, 2013

At which places do I have to reset password?

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

C_ Faysal
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
January 29, 2013

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.

Ben Williams January 30, 2013

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 :(
0 votes
Vishnukumar Vasudevan
Community Champion
January 28, 2013

What does atlassian-crowd.log says ?

Ben Williams January 28, 2013

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
TAGS
AUG Leaders

Atlassian Community Events