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

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

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 Data Center is here!

G’day Bamboo customers, The wait is over! Bamboo Data Center edition you have been asking for is finally here! This self-managed enterprise offering of Bamboo has the resilience, reliability, and s...

534 views 1 17
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you