/build/static/layout/Breadcrumb_cap_w.png
04/06/2018 761 views
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:
0 Comments   [ + ] Show comments

Comments


Answer Chosen by the Author

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