Limit LDAP Users that are memberOf

Sergio Duarte September 8, 2012

How can I add the memberOf:CN=JIRA Users in the LDAP configuration so that it only retrieves those users?

1 answer

1 accepted

0 votes
Answer accepted
Andy Brook [Plugin People]
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
September 9, 2012

I think you need to setup an LDAP filter, such that users listed must have the given group membership. From memory, this ONLY applies to direct group memberships, inherited memberships won't work (yet?)

To know you have the right ldap filter, get Apache Directory Studio, it will allow you to bind to your ldap server and perform queries based on filter. This will be far faster than guessing in your JIRA config. Prove the filter returns the users you expect, then use that filter in your LDAP user filter:

https://confluence.atlassian.com/display/JIRA/Connecting+to+an+LDAP+Directory

Suggest an answer

Log in or Sign up to answer