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).
Answers (2)
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.
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