Unable to connect bamboo to ldap
Asked by Guillaume RENARD:

Hello,

I would like to connect my bamboo with my ldap but I can't manage to do it. i can't find a FULL atlassian-user.xml example.

Here mine

{code}

ldap

389

cn=Manager,dc=arte,dc=tv

\*\*\*

plain

simple

dc=arte,dc=tv

{code}

I did several tests but even with paddle I can't manage to do anything (Error reading atlassian-user.xml file: No LDAP settings found in XML configuration.).

I wouldn't like to 'destroy' my bamboo instance.

I have several other questions.

\* What happens if I have a local user that doesn't exist in the ldap ? His work still available (plan, tasks ...) or if I delete a ldap user ?

Best regards,


Answers:
author: Sultan Maiyaki
body: Here is a sample of my file for your reference:

```
&lt;atlassian-user&gt;    &lt;repositories&gt;        &lt;!--LDAP: Uncomment the following block and modify accordingly for LDAP integration--&gt;        &lt;ldap key="adRepository" name="AD Repository" cache="true"&gt;            &lt;host&gt;ldap.atlassian.com&lt;/host&gt;            &lt;port&gt;389&lt;/port&gt;            &lt;securityPrincipal&gt;CN=Administrator,CN=Users,DC=atlassian,DC=com&lt;/securityPrincipal&gt;            &lt;securityCredential&gt;administrator&lt;/securityCredential&gt;            &lt;securityProtocol&gt;plain&lt;/securityProtocol&gt;            &lt;securityAuthentication&gt;simple&lt;/securityAuthentication&gt;            &lt;baseContext&gt;DC=atlassian,DC=com&lt;/baseContext&gt;            &lt;baseUserNamespace&gt;CN=Users,DC=atlassian,DC=com&lt;/baseUserNamespace&gt;            &lt;baseGroupNamespace&gt;CN=Users,DC=atlassian,DC=com&lt;/baseGroupNamespace&gt;            &lt;usernameAttribute&gt;sAMAccountName&lt;/usernameAttribute&gt;            &lt;userSearchFilter&gt;(objectClass=person)&lt;/userSearchFilter&gt;            &lt;firstnameAttribute&gt;givenname&lt;/firstnameAttribute&gt;            &lt;surnameAttribute&gt;sn&lt;/surnameAttribute&gt;            &lt;emailAttribute&gt;mail&lt;/emailAttribute&gt;            &lt;groupnameAttribute&gt;cn&lt;/groupnameAttribute&gt;            &lt;groupSearchFilter&gt;(objectClass=group)&lt;/groupSearchFilter&gt;            &lt;membershipAttribute&gt;member&lt;/membershipAttribute&gt;        &lt;/ldap&gt;       &lt;hibernate name="Hibernate Repository" key="hibernateRepository" description="Hibernate Repository" cache="true"/&gt;        &lt;!-- CROWD respository --&gt;        &lt;!--             You will need to uncomment the Crowd Repository below to enable Crowd integration. For more information,             please see:             http://confluence.atlassian.com/display/CROWD/3.2.2+Integrating+Crowd+with+Atlassian+Bamboo             You must also comment out the Hibernate Repository above.        --&gt;        &lt;!--&lt;crowd key="crowd" name="Crowd Repository"/&gt;--&gt;        &lt;!-- END of CROWD repository --&gt;    &lt;/repositories&gt;&lt;/atlassian-user&gt;
```

```

```

```
For more details refer to https://confluence.atlassian.com/display/BAMBOO/Integrating+Bamboo+with+LDAP
```

comments: author: Guillaume RENARD
body: I am now in relation with the official support but your answer is quite relevant. Thank you very much !