LDAP - Cannot find a userManager responsible for user [username]

Still need help?

The Atlassian Community is here for you.

Ask the community

Symptoms

Bamboo is integrated with LDAP. A user is unable to log in, and this error gets logged every time this user tries to log in:

2013-10-09 20:44:11,668 ERROR [TP-Processor21] [BambooUserManagerImpl] com.atlassian.user.EntityException: Cannot find a userManager responsible for user [username]
com.atlassian.user.EntityException: Cannot find a userManager responsible for user [username]
	at com.atlassian.user.impl.delegation.DelegatingListUserManager.isReadOnly(DelegatingListUserManager.java:169)
	at sun.reflect.GeneratedMethodAccessor515.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
	at com.atlassian.crowd.integration.atlassianuser.DynamicDelegationAccessor$DelegatingInvocationHandler.invoke(DynamicDelegationAccessor.java:115)
	at com.sun.proxy.$Proxy26.isReadOnly(Unknown Source)
	at com.atlassian.bamboo.user.BambooUserManagerImpl.isReadOnly(BambooUserManagerImpl.java:596)
	at com.atlassian.bamboo.user.BambooUserManagerImpl.isDeletable(BambooUserManagerImpl.java:584)
	at sun.reflect.GeneratedMethodAccessor512.invoke(Unknown Source)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at java.lang.reflect.Method.invoke(Method.java:606)
... 

Cause

Incorrectly configured atlassian-user.xml file or caching.

Resolution

The following resolution sequences should be performed in order.

1) Stop Bamboo, add the following line to the end of the atlassian-user.xml file (right before the </repositories> tag) if it's located anywhere else in that file and restart Bamboo.

<hibernate name="Hibernate Repository" key="hibernateRepository"  description="Hibernate Repository" cache="true"/>


2) Stop Bamboo, remove the caching from that line cache="true" and restart Bamboo.
3) Stop Bamboo, delete the <bamboo-home>/caches directory, and restart Bamboo

For more information about LDAP configuration for Bamboo, please refer to this page.

 

Last modified on Nov 2, 2018

Was this helpful?

Yes
No
Provide feedback about this article
Powered by Confluence and Scroll Viewport.