It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Locked out of crowd with error "Invalid login" with no bad password attempts.

In Crowd, I had just rearranged the order of directories by putting the delegated authentication (Active Directory) above internal crowd directory. 

I had created an admin user for the internal directory and the delegated auth so thought it couldn't create a problem. But when I tried to login with this admin it says: invalid login. Actually, it says that no matter which user I put in, and I've tried every one of them that appears in the table.

I attempted to reset the password using the queries listed for PostgreSQL and although the tables show the changes you'd expect from the queries, they never show any bad password attempts. 

I can't seem to find/or enable the correct logs. And I've checked out other threads like this one here: 

https://community.atlassian.com/t5/Crowd-questions/Invalid-login-error/qaq-p/8953

and I'm not sure exactly what they are saying the solution was but I don't think it's the same thing. Maybe so. 

I haven't gotten to pointing Confluence and Service Desk to Crowd yet. I can still get into those. Should I/Can I just blow this install away and start again? Please advise. Thanks! 

1 answer

1 accepted

1 vote
Answer accepted
Ann Worley Atlassian Team Mar 05, 2018

Before you start over, please consider disabling the delegated directory via the database and then logging in with your internal admin. It sounds like the admin in the delegated directory may not be able to log in because of settings, like that directory is not mapped to the Crowd application, for example.

Note: Please back up the database before running any SQL against it.

To keep the queries simple, please get the directory id first:

select id, directory_type from cwd_directory;

From the results, identify the id for the delegated directory, and set it to inactive:

 update cwd_directory set active = 'F' where id = 'Delegated_ID_FROM_OTHER_QUERY';

I found some docs that may come in handy as you set up Crowd:

Mapping a Directory to an Application

Effective memberships with multiple directories

I'm back in. You're a lifesaver! Thank you! 

Ann Worley Atlassian Team Mar 05, 2018

That's great news! Thanks for following up. :)

Suggest an answer

Log in or Sign up to answer
This widget could not be displayed.
This widget could not be displayed.
Community showcase
Published Thursday in Confluence

Confluence CVEs and common questions

Two vulnerabilities have been published for Confluence Server and Data Center recently: March 20, 2019 CVE-2019-3395 / CVE-2019-3396 April 17, 2019 CVE-2019-3398 The goal of this article is...

111 views 0 10
Read article

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