Bitbucket 5.6.2 get logs for testing connection on ldap


I'm trying to find out where I can find the logs to the testing on a User Directory (specifically Active Directory Server).

When it tests and fails on "Test retrieve user" I want to be able to see this reflected in a log with more details.

I have both "Enable debug logging" and "Enable Profiling" enabled under Logging and Profiling.

I can see some logs relating to ldap in: atlassian-bitbucket.log but no errors?

Can anyone help me?

Thank you.

1 answer

0 votes

Hi Emma, thank you for the good question.

That was a good idea to enable the debug logging, however, the Profiling should be enabled only if you troubleshoot the performance and want to know the long-running tasks.

If the "Test retrieve user" failed it should give you an LDAP error code. We have collected the most often LDAP and AD-specific error codes on the page: Common User Management Errors (! the table on top is scrollable horizontally).

If you cannot see the error and want really verbose output from LDAP server you can set up the verbose output following the instructions from the KB Log more LDAP query details

Let me know if you have any difficulties.

Suggest an answer

Log in or Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

656 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot