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$