Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

can I configure the LDAP settings from a CLI in bitbucket?

Matthew Connolly
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 28, 2018

We are wanting to script the install of bitbucket and this will help us get started.

Thanks

 

2 answers

0 votes
Caterina Curti
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 29, 2018

 Hey @Matthew Connolly,

 

We are tracking this use case (together with the broader scope of a fully automated installation) on this feature request:

- BSERV-5167 Enable unguided/automated installation

 

This one covers the possibility to configure user directories via REST API endpoint:

- BSERV-7558 - Automate LDAP configurations in multiple instances

 

Cheers and thanks @Christian Glockner!

Caterina - Atlassian

Matthew Connolly
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
June 29, 2018

in the mean time are these settings stored in a App database, and can I export the DB to import with my desired settings during config?

Caterina Curti
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 29, 2018

Hi @Matthew Connolly,

If you need to migrate a Bitbucket Server instance to a new server or when performing a restore in general, these settings will be migrated/restored as well. In this case, the settings will be migrated with the entire content of the database and the home directory.

Exporting just these settings and re-importing them by accessing the database directly is not supported.

 

The only available workaround is to perform the configuration by accessing the user interface. Here are the step by step instructions:

External user directories

 

Caterina

0 votes
Christian Glockner
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
June 29, 2018

Hi Matthew,

Unfortunately you can only configure the LDAP settings via the GUI.

Cheers,

Christian

Premier Support Engineer

Atlassian

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events