Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Celebration

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root

Avatar

1 badge earned

Collect

Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!

Challenges
Coins

Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.

Recognition
Ribbon

Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!

Leaderboard

Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,467,388
Community Members
 
Community Events
177
Community Groups

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
AnnWorley 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! 

AnnWorley Atlassian Team Mar 05, 2018

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

Hi, 

please if you can help me. 

I am facing the same issue with my crowd. 

I have postgresql and using crowd 3.1.3

both are running on virtualbox images. i recently moved to a different town and so wifi address changed. that is the only change happened. 

I changed the IP addresses in crowd.cfg.xml for the database. 

after that I started crowd. and it starts perfectly fine. no error in logs. so I am sure it is connecting to the database.

when I open crowd in my chrome browser. it gives me the login screen. but when I login with my admin id. it says "invalid login". my password is correct but still it does not allow me login. 

can you please help me. if will be great.

Suggest an answer

Log in or Sign up to answer
TAGS

Atlassian Community Events