Problem logging in to Bamboo with JIRA as userserver using LDAP

We are using

Jira 7.3.3 on a Windows Server 2008 R2 and Bamboo 6.0.3 on a Windows Server 2012 R2. Basicly it works but we have a weird behaviour for several days

Bamboo is configured to use the JIRA Server as User repositories
Which works (synchronization is ok, I see the Users/groups in the Bamboo user list)

Most users in JIRA are setup to authenticate via LDAP (Active Directory) which also works fine on the JIRA server.

But if i try to logon to Bamboo only the user with no LDAP configuration works (our Admin User) for all other users the authentication fails with wrong username password.

 

I checked the logfiles but I'm not able to find anything suspicious.
The only thing where I know it was changed, was the IP Adress of the Bamboo server but the new one is also in the JIRA user server whitelist.

So what can i do now?

Where are the "wrong" login attempts logged?

 

2 answers

1 accepted

Looks like it was a temporary Network problem..

no Idea how it happend, but it is working again.

0 vote

Hi Norbert,

 

Few things we can test to narrow down the issue:

  • Check your <bamboo-home>/xml-data/configuration/atlassian-user.xml file and ensure that the hibernate settings are below the </ldap> configuration otherwise <hibernate> settings will be given preference for all the logins. This might be the case here.
  • You can enable the debug logging for the following:
    log4j.appender.com.atlassian.user.impl.ldap=DEBUG
    log4j.appender.com.atlassian.user.impl.ldap.security.authentication=DEBUG


    Set this in (bamboo-install/atlassian-bamboo/WEB-INF/classes/log4j.properties) and restart your bamboo
    After restart try to login again and see the logs for errors.


After all these, if you still can't figure out the issue, I would recommend logging a ticket with the support to investigate further.

Thanks

* there is only one entry, I configured it via Bamboo UI and there is only one selection possible (not like in JIRA where you can have several user directories)

* I enabled it
now I have the error

2017-10-11 16:10:52,980 ERROR [http-apr-8085-exec-1] [DefaultUserAccessor] Error in getUser():com.atlassian.crowd.exception.InvalidCrowdServiceException: The following URL does not specify a valid Crowd User Management REST service: http://xxxxxxxxxx:8080/rest/usermanagement/1/search?entity-type=group&start-index=0&max-results=-1
com.atlassian.user.EntityException: com.atlassian.crowd.exception.InvalidCrowdServiceException: The following URL does not specify a valid Crowd User Management REST service: http://insv01104:8080/rest/usermanagement/1/search?entity-type=group&start-index=0&max-results=-1

 Which is funny because As far as i understand this has nothing to do with LDAP

I add the content of the crowd.properties
probably there is something wrong

session.lastvalidation=session.lastvalidation
session.tokenkey=session.tokenkey
crowd.server.url=http\://localhost\:8095/crowd/services/
application.name=bamboo
crowd.base.url=http\://xxxx\:8080
session.isauthenticated=session.isauthenticated
application.login.url=http\://localhost\:8095/crowd/console/
bamboo.crowd.cache.minutes=60
session.validationinterval=2
application.password=topsecretpwd

 

xxxx is the right servername
and application.name and password are also ok

Can you confirm if you are using Crowd or LDAP ?

 

Also, share the atlassian-user.xml file configuration

As described in my first question
I use Jira as User Server (AKA Crowd) and JIRA uses LDAP

the file is here

<atlassian-user>
    <repositories>
        <crowd name='Crowd Repository' key='crowd'/>
    </repositories>
</atlassian-user>

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

Meet the AUG leaders of Northern Virginia

@Rachel Wright (Jira Genie), @Billy Poggi (AUG NOVA, DC), and @Dana Jansen (Confluence Queen) are just some of the folks that lead one of the world's most active Atlassian User Group (AUG)....

121 views 4 9
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