/build/static/layout/Breadcrumb_cap_w.png

Scripting Question


Adding LDAP labels

08/16/2019 268 views

I am wondering if there is a way to create one LDAP label that has different info in the BaseDN window?   I would like to include all the computers in one label but my computers are in different OU's in AD.  But I dont want all the OU's that are in the root of the OU structure.


For example:

OU folder is IT and there are sob folders like Manufacturing, Research and HR.  I want to only get the computers that are in Research and HR and not the pcs in Manufacturing.  Is it possible to do this in one LDAP label or do I need to create one for HR and one for Research?


Thanks

Keith

2 Comments   [ + ] Show comments

Comments

  • Try this. In the Base DN just list the domain. In the Advanced Search use this format (&( cn=) ( cn= )) and put the two OU folders in the parentheses.

    If it chokes on that add the samAccountName=KBOX_USER_NAME
  • Thanks Andrew, I will give that a try

Be the first to answer this question

 
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