Crowd mapped with LDAP but unable to find user in crowd even after first time failed login


We have a setup where we have crowd authentication and this is linked with JIRA,confluence,Stash,SVN. However crowd is mapped with LDAP as well. But we need the user to login for the first time to any of the applications linked with crowd, only after that we are able to add the user in crowd - after caching happens in crowd. Can you please help me understand this situation?

There is a user with valid userid and password and has logged in once - failed login to JIRA or confluence and then when i check the user is not present in crowd and hence not able to add the user. Can you please help?



2 answers

It sounds like Crowd is connected to your LDAP server using a delegated authentication directory, which syncs only users who try to log in, and only at the time of login. Try configuring a new directory which is an LDAP Connector, which would synchronise the full set of users to Crowd (and subsequently to your apps connected to Crowd), and reconfigure your applications in Crowd to use that instead.

Re your one problem user who doesn't seem to be appearing, check the Crowd logs to see if there are any messages regarding that user. The user might have extra spaces or strange characters in their username (or other attributes) which is preventing them from being sync'd on their login attempt.

@Caspar Krieger  I disagree with the suggested fix.  If Crowd is configured with a Delegated Authentication Directory, the most likely reason is that the company doesn't want to import all their users.

If the username and password have been confirmed to be right, the next thing to check is the filter settings for your Delegated Authentication Directory.  In Crowd, go to Directories and look for the one with a "Type" of "Delegated Authentication Directory".  Check the settings on the Configuration tab.  It may well be that the directory is limited to checking a specific OU or type of user in your LDAP database.  If your new user falls outside of the specified filters, it won't be imported into Crowd.

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Published Thursday in Jira

5 ways you can make the most of Jira Software and Bitbucket Cloud

As part of the Bitbucket product team I'm always interested in better understanding what kind of impact the use of our tools have on the way you work. In a recent study we conducted of software devel...

76 views 0 5
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