I have KACE 1K and I have created two organziations. The goal is to have the two organizations, one for the help desk and one for the administators. The HD organization will only have the client OS types (Windows 7, XP, etc). The admin organization will only have the server OS types (2003, 2008, etc). I am attempting to do this seperation by using the LDAP filters by OS types. However, when I test my filter it shows that everything is successful with 0 results. Here is one of my attempts (I have many other search scripts that dont work) :

OK: Connection Successful.
OK: Setting Protocol Version 3 Successful.
OK: Setting LDAP REFERRALS Option 0 Successful.
OK: Search Bind using LDAP supplied credentials Successful.
Applying search filter [(&(name=*)(operatingsystem=*Windows*))]
OK: LDAP search (with filter [(&(name=*)(operatingsystem=*Windows*))]) Successful.
OK: LDAP Search successful with 0 entries found.
OK: LDAP Test Successful. Closing connection.

I have tried the search in the  entire AD tree and only in an OU but no success. Has anyone been able to do this successfully? Anyone have any suggestions on how I can get this to work?



Answer Summary:
0 Comments   [ - ] Hide Comments


Please log in to comment

Answer this question or Comment on this question for clarity



This should return all Windows Server OS from LDAP.

I'd recommend using the built in Query feature of Active Directory Users and Computers to build and test the queries first then copy them to KACE and test there.
Answered 01/26/2015 by: h2opolo25
Red Belt

  • thanks, i used this (&(&(objectCategory=computer)(operatingSystem=Windows 7*)(operatingSystemServicePack=Service Pack 1)). it worked on the query search. it turns out that KACE didnt like the ldaps, it needed just ldap. thanks for your help. - Mike
Please log in to comment