Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Earn badges and make progress

You're on your way to the next level! Join the Kudos program to earn points and save your progress.

Deleted user Avatar
Deleted user

Level 1: Seed

25 / 150 points

Next: Root


1 badge earned


Participate in fun challenges

Challenges come and go, but your rewards stay with you. Do more to earn more!


Gift kudos to your peers

What goes around comes around! Share the love by gifting kudos to your peers.


Rise up in the ranks

Keep earning points to reach the top of the leaderboard. It resets every quarter so you always have a chance!


LDAP configuration as a code

Hello, i am installing and configuring Bitbucket via Ansible and i would like to know if it is possible to configure LDAP connection as a code ? Like editing any configuration file ? There is no option like that in the file afaik. Or with API calls maybe ?

1 answer

I've been wondering the same thing and it doesn't look like it's possible to setup an LDAP connection via configuration file or API call. Would be nice anyone could prove me wrong.

The only option i have found was to get a clean bitbucket installation, configure LDAP as you please and then dump its database, so you basically get a clean install with LDAP configured and you can then script out database import after new bitbucket installation which will contain LDAP config. If its dumb, and works - its not dumb.

Like Dominik likes this

Another option would be to use SQL commands to insert the database objects directly. All LDAP connection related information seems to be stored in these tables:



This might be even better. I didn't look into that very much as i suck in databases and whatever i was doing back then was hung in the closet for some other day that didnt come yet :)

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events