Limiting LDAP search for "memberOf"

Wayne Edgar June 29, 2017

I'm configuring LDAP against Microsoft AD and I can get the list of all AD users, but I want to limit the results to show only the members of the AD group "jira-software-users". What should the "Membership Schema Settings" look like?

I've attempted to use User Memebership Attribute: memberOf=cn=jira-software-users and that doesn't work. Am I using the correct syntax with the "=" after memberOf?

1 answer

1 accepted

1 vote
Answer accepted
Lars Olav Velle
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.
June 29, 2017

I think memberOf just tells what ldap attribute to use for the membership lookup.

What you need to do is filter out the users not memberOf..

https://confluence.atlassian.com/kb/how-to-write-ldap-search-filters-792496933.html

Cheers,

Lars

Wayne Edgar July 3, 2017

Perfect! The article helped me configure it just as I needed. Thanks!

Suggest an answer

Log in or Sign up to answer