/bundles/itninjaweb/img/Breadcrumb_cap_w.png
Hi everyone

i have some groups in my Active Directory and i need users LDAP Label(s) that automatically fills with the users contained in those groups.
The groups are called "Sharepoint_xyz" and the OU maybe OU=Group,OU=Other,DC=DOMAIN,DC=loc

I've tried some base dn and advanced search like this, but i can't get any username

(&(member=KBOX_FULL_NAME)(memberOf=CN=Sharepoint_Tech,OU=Groups,OU=Rome,DC=mydomain,DC=loc))

Can you help me, please?
Answer Summary:
Cancel
0 Comments   [ - ] Hide Comments

Comments

Please log in to comment

Answer Chosen by the Author


Answers

1
For all user queries you must include KBOX_USER_NAME since this is the unique identifier of a user. So your query would become something like:
(&(SAMAccountName=KBOX_USER_NAME)(member=KBOX_FULL_NAME)(memberOf=CN=Sharepoint_Tech,OU=Groups,OU=Rome,DC=mydomain,DC=loc))

Answered 05/17/2018 by: JasonEgg
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity

Answers