/build/static/layout/Breadcrumb_cap_w.png

K1000 LDAP Query to pull users from a group

Trying to create an LDAP query to get users from a group:

ex. Get all users in the AD Group 'Marketing'

Screenshot of the search.

D2kBjBGn8E5XAAAAAElFTkSuQmCC


0 Comments   [ + ] Show comments

Answers (1)

Posted by: Gerhart 9 months ago
Green Belt
0

Try this Advanced Search string:

(&(samaccountname=KBOX_USER_NAME)(memberof=CN=AS_DevUser,DC=Your,DC=Domain))


You have to put a second bracket at the end and you cannot use spaces. In addition, the group name must be specified as distinguishedName.
If you also replace the "memberof" with "memberof:1.2.840.113556.1.4.1941:", nested groups are also read out via LDAP.

(&(samaccountname=KBOX_USER_NAME)(memberof:1.2.840.113556.1.4.1941:=CN=AS_DevUser,DC=Your,DC=Domain))

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ