/build/static/layout/Breadcrumb_cap_w.png

Systems Management Question


K1000 LDAP Query to pull users from a group

07/20/2020 107 views

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

Comments


All Answers

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))

Answered 07/20/2020 by: Gerhart
Green Belt

 
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