/build/static/layout/Breadcrumb_cap_w.png

Problems with LDAP Filters

In our AD tenant, we have a Workstations OU, and then underlying OU's that are named based on Location.  All workstation objects fall into their respective location OU.  Examples:

Workstations > London

Workstations > NYC


I followed your 2 part documentation and first created a new Label.  I then created an LDAP label.  For the LDAP label, I added the credentials, the base DN, etc.  All that works.  I'm having trouble having the LDAP Label show the proper results, I want the LDAP Label to output the NAME of the OU, where the device resides (I.e - London, NYC, etc).


0 Comments   [ + ] Show comments

Answers (2)

Posted by: barchetta 2 years ago
4th Degree Black Belt
0

Have you run the test for your ldap label and are you getting the location in the test?  If so, you should get the location but it will take some time. It seems ldap labels are on some sort of super secret not to be shared with kace customers schedule.   When Ive asked support what the schedule was the response was "we dont know:.  Great.

Posted by: DRamkalawan 2 years ago
White Belt
0

So i entered the Base DN and the Filter.  Doing so takes me directly to the targeted OU.  The problem is, there is no way to tell the label to select the OU name, rather than it's contents.  Very strange.


Comments:
  • What you could do is make a label called NY users and then add all the users within the NY OU to it. No need for the OU name to be extracted.. But if you want location, it would need to be in a AD attribute of the resource. Might help for you to share your ldap query because I may not be following, However, Im no ldap genius. Example of what Ive done..

    For all chicago PCs (label "Chicago Devices")

    BASE DN:
    OU=Chicago,OU=offices,DC=DOMAIN,DC=LOCAL
    Advanced Search:
    (name=KBOX_COMPUTER_NAME)


    This gives me all computers in the Chicago OU. - barchetta 2 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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