K1000 - Organization LDA¨P Filter failing [SOLVED]
We are currenlty working on a K1000 9.1.317 system which we obviously use for software management.
I've inherited the system from a predecessor and I found it was time to cleanup a bit as pc's are not organized at all.
Since we are working on 2 continents, and our MS AD is set to have multiple branches depending on the office I found the LDAP filters interesting to use.
Basically we have
--> OU=Office 1
-> OU=Office 2
My intend is to have 2 filters based on the computers in Office 1 and Office2.
As filter I've been using "(objectclass=computer)"/"(CN=KBOX_COMPUTER_NAME)" "just blank as the ou gets all pc's"
The LDAP browser seems to work fine using the created Search Base DN
But the filter applied is alwas failing.
ANy thoughts how and why?
Answer Chosen by the Author
you need to query objectcategory vs objectclass. object class is a multi-string array