Log more LDAP query details

'How Do I...' and 'How to...' Guide to Stash

On this page

Still need help?

The Atlassian Community is here for you.

Ask the community

Create the following logback.xml file in the root of the Stash home directory if it doesn't exist already and add the following:

<included>
    <logger name="com.atlassian.crowd.directory.SpringLDAPConnector" level="DEBUG"/>
</included>

 

This will add the following line to the log when Stash tries to authenticate the user:

2013-04-30 14:26:40,042 DEBUG ... c.a.c.directory.SpringLDAPConnector Performing user search: baseDN = ou=users,ou=system - filter = (&(objectclass=posixAccount)(uid=admin))

 

For example:

2013-04-30 14:48:42,821 DEBUG ... c.a.s.i.user.DefaultUserService Authenticating user drohan
2013-04-30 14:48:45,337 DEBUG ... c.a.c.directory.SpringLDAPConnector Performing user search: baseDN = ou=users,ou=system - filter = (&(objectclass=posixAccount)(uid=drohan))
2013-04-30 14:48:47,454 DEBUG ... c.a.s.i.u.StashAuthenticationFilter Authentication success. 

 

If possible, please try to login again to Stash with drohan a few times and attach the log containing the previous lines to the issue. Also attach the Crowd directory config that was used during that attempt (using Administration >> User Directories >> Directory Configuration Summary) if it was different from before.

 

Last modified on Nov 2, 2018

Was this helpful?

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