LDAP Dynamic Group Support

It would be awesome if I can get Confluence/Jira to work with LDAP Dynamic Groups. By that I mean specifically. . .

Example LDAP cn definition:

cn=dg_all_managers,ou=groups,dc=abc,o=xyz

objectclass=top groupOfURLs

memberURL=ldap:///ou=people,dc=abc,o=xyz??sub?(mgrLevel=Y)

Let's say User1, User2 and User3 have the attribute mgrLevel=Y.

Scenario1: Is there a way to get Confluence/Jira to recognize the cn=dg_all_managers,ou=groups,dc=abc,o=xyz as having dynamic members User1, User2 and User3?

Scenario2: Do I need to go one step further and add an attribute to User1, User2 and User3 LDAP record to include a memberOf=cn=dg_all_managers,ou=groups,dc=abc,o=xyz

Our preference is to get scenario1 to work but might be willing to settle for scenario2.

Any advice on this is appreciated.

1 answer

1 accepted

0 votes
Answer accepted

Hi,

You should be able to use scenario 2, have a look at http://confluence.atlassian.com/display/DOC/Connecting+to+an+LDAP+Directory#ConnectingtoanLDAPDirectory-MembershipSchemaSettings

If you use the "Use the User Membership Attribute, when finding the user's group membership" setting then the application will use the group attribute on the user (memberOf) to retrieve group membership, if you have this unchecked it will use the attribute on the group (member) to determine group membership.

The support for "real" dynamic groups (scenario 1) is an open feature request - https://jira.atlassian.com/browse/CONF-8046

Hope that helps,

Andrew.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Mar 12, 2019 in Confluence

Confluence Admin Certification now $150 for Community Members

More and more people are building their careers with Atlassian, and we want you to be at the front of this wave! Important Dates Start the Certification Prep Course by 2 April 2019 Take your e...

1,510 views 4 13
Read article

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you