Bamboo: Is it possible to have both a internal user and Crowd LDAP external?
Asked by Lloyd McCulloch:

Hello,

I would like a designated build user in Bamboo with a password that never expires.

We currently use Crowd to manage our users via our corporate LDAP server.

We are starting to implement various types of automation through the API and I'm currently using my corporate username/password which I'm forced to change every 60 days. I encode my password but every time it changes I have to go through all the plans and scripts to make sure I update them with the new password.

Bamboo only allows internal OR external. I've tried to create a non-ldap user in Crowd and assign it to my Bamboo application, add that user to the same Bamboo group as myself, synchronize but I'm not able to log in to Bamboo as that user (the user shows up in the user list). Do I need to get IT to create a LDAP user for this?

What would my options be?

Thank you for your time.  
[](https://community.atlassian.com/t5/Bamboo-questions/Bamboo-Is-it-possible-to-have-both-a-internal-user-and-Crowd/qaq-p/361143?attachment-id=11911){#link_1166d690fdaf8a}  
[](/tnckb94959/attachments/tnckb94959/bamboo-questions/11450/1/crowd.png){#display_1166d690fdaf8a_0}


Answers:
author: Lloyd McCulloch
body: Hello Sergey,

I appreciate the response.

I added the user I had created in Crowd (only - doesn't exist in LDAP like my user info) to the User section with full Admin rights to the Global Permission section but was still not able to either log into Bamboo as that user or successfully invoke a API as that user - it returns "Basic Authentication Failure - Reason : AUTHENTICATION_DENIED".

When I switch out that user info with mine its successful.

I did just notice that under Security=\>Security Settings that "Enable Signup?" is NOT checked. I actually only have "Read-only external user management?" checked.

I could try turning that on and seeing if that is restricting something.

Thank you again for your time.

Lloyd

comments: author: Sergey Podobry _Stellarity Software_
body: Check your application configuration in Crowd. Did you allow authentication from the internal directory?

crowd.png


author: Lloyd McCulloch
body: No, only the LDAP directory is specified. So, configuring a Crowd internal directory that can contain internal valid users who do not need to be in LDAP?

I appreciate your time.


author: Lloyd McCulloch
body: WooHoo!! It worked. I created an internal directory in Crowd, added a build user to that internal directory, added that directory to my Bamboo application, sync'd with Bamboo and then added that new user to the Global Permissions as admin and it worked!! It's now a valid internal user .. with a password that never expires.

Thank you very much Sergey for your time and assistance!!


author: Sergey Podobry _Stellarity Software_
body: You're welcome!


author: Sergey Podobry _Stellarity Software_
body: Hi Lloyd,

Your setup should work. As you see your user in the Bamboo try setting him permissions directly in  
Bamboo administration=\>Security=\>Global permission (to be sure that you didn't mess with groups).

Hope this helps.


Tags: bamboo-administration