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

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

Avatar

1 badge earned

Collect

Participate in fun challenges

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

Challenges
Coins

Gift kudos to your peers

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

Recognition
Ribbon

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!

Leaderboard

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,554,036
Community Members
 
Community Events
184
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?

Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
May 04, 2020

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
Gonchik Tsymzhitov
Community Leader
Community Leader
Community Leaders are connectors, ambassadors, and mentors. On the online community, they serve as thought leaders, product experts, and moderators.
Apr 29, 2020

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
AUG Leaders

Atlassian Community Events