Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,359,908
Community Members
 
Community Events
168
Community Groups

How to resolved User "Does not belong to any LDAP groups."?

Any ideas how to resolved the issue: User "Does not belong to any LDAP groups."?

We are trying to integrate Bamboo (v5.9.4) with LDAP by following this documentation.
https://confluence.atlassian.com/bamboo059/integrating-bamboo-with-ldap-800858652.html

Here is the atlassian-user.xml.

where XYZ in securityPrincipal is valid LDAP user name, and password in securityCredential is the password of this XYZ_user

<atlassian-user>

<repositories>

<ldap key="ldapRepository" name="Oracle LDAP" cache="true">
<host>ldap1x.oracle.com</host>
<port>389</port>
<securityPrincipal>cn=XYZ,l=AMER,dc=oracle,dc=com</securityPrincipal>
<securityCredential>password_of_XYZ_user</securityCredential>
<securityProtocol>plain</securityProtocol>
<securityAuthentication>simple</securityAuthentication>
<baseContext>dc=oracle,dc=com</baseContext>

<baseUserNamespace>dc=oracle,dc=com</baseUserNamespace>
<baseGroupNamespace>dc=oracle,dc=com</baseGroupNamespace>
<usernameAttribute>cn</usernameAttribute>
<userSearchFilter>(objectClass=inetorgperson)</userSearchFilter>
<firstnameAttribute>givenname</firstnameAttribute>
<surnameAttribute>sn</surnameAttribute>
<emailAttribute>mail</emailAttribute>
<groupnameAttribute>cn</groupnameAttribute>
<groupSearchFilter>(objectClass=groupOfNames)</groupSearchFilter>
<membershipAttribute>member</membershipAttribute>

<poolingOn>true</poolingOn>
<maxSize>0</maxSize>
<initSize>10</initSize>
<prefSize>10</prefSize>
<debugLevel>none</debugLevel>
<securityProtocol>plain ssl</securityProtocol>
<authentication>simple</authentication>
<timeout>0</timeout>
<batchSize>100</batchSize>
<timeToLive>0</timeToLive>
<userSearchAllDepths>true</userSearchAllDepths>
<groupSearchAllDepths>true</groupSearchAllDepths>
</ldap>

<hibernate name="Hibernate Repository" key="hibernateRepository" description="Hibernate Repository" cache="true"/>

</repositories>
</atlassian-user>

Below are the outputs using the atlassian-user.xml.

For TEST 1: The first 10 users do not belong to any LDAP groups. XX, YY, and ZZ have been replaced the actual users usernames.

For TEST 2: Empty list of users.

$ java -jar paddle-2.0.jar
###########################################################################################################################

LDAP Support Tool version 2.0

###########################################################################################################################

Connected to server successfully
-----------------------------------------------------------------
TEST 1: Search and list 10 users
-----------------------------------------------------------------

User: cn=XX-SUPPORT_IN,l=amer,dc=oracle,dc=com
Does not belong to any LDAP groups.

User: cn=YY,L=AMER,dc=oracle,dc=com
Does not belong to any LDAP groups.

User: cn=ZZ,L=AMER,dc=oracle,dc=com
Does not belong to any LDAP groups.

so on...
-----------------------------------------------------------------
TEST 2: Search and list 10 groups
-----------------------------------------------------------------

-bash-4.1$

2 answers

Can you please give more details. 

How do we fix the filter for groups?
How about filter for users?

Hi!

Could you provide more info, please?

1. Need to understand where located the group

2. How we can filter it

3.  Be sure works well java -jar paddle-2.0.jar
0 votes

Hi! 

Are you sure that filter for groups is correct ?

(objectClass=groupOfNames)

https://ldapwiki.com/wiki/GroupOfUniqueNames%20vs%20groupOfNames

 

BTW, FYI Bamboo 6.6 has good internal crowd like Jira. 

 https://confluence.atlassian.com/bamboo/bamboo-6-6-release-notes-952624920.html\

Hence I recommend to upgrade to latest version

Suggest an answer

Log in or Sign up to answer
TAGS
Community showcase
Published in Bamboo

Bamboo 9.0 is now available

Hey there, Data Center community! I'm Martyna Wojtas and I am the Product Manager for Bamboo Data Center. I’m excited to share that Bamboo 9.0 is now available. We purpose-built this platform to help...

304 views 0 7
Read article

Atlassian Community Events