Hi Guy's,
I have a problem here. I just create a LDAP filter for list all computer in the OU IT and when I run this on LDAP Browser for test all work fine, then I save it and all goes wrong.
in my test I have this:
Search Base DN:
OU=IT, OU=Computers, OU=CH, DC=qxlricardo,DC=internal
Search Filter:
then I save it and now I have all computers and servers there.
Any Idea how can I fix it???
Best regards,
0 Comments   [ + ] Show Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


The way that LDAP filters work is that every time a machine checks in, the KBOX runs every search filter, looks for a positive hit when running the search, and if it gets one, the machine gets that label. The way you've written your search, results always come back, so all machines will be put into the label because every time it runs, we get a result back. You want to narrow the search so that ONLY if the machine checking in has that CN set, you get a hit. Fortunately, that should be easy to do.

If you take a look at the right-side help bar when creating the filter, there's a set of macros you can use to parameterize the search. That's the important part on KBOX: you want to put one of those macros in your search string. Here they are:



So, you want toYou might make it be something like


Here's the definitive reference on LDAP search strings. Remember that if we get a hit for a search when a machine checks in, we give it that label. Parameterizing the search with one of these KBOX macros is important.

Answered 05/14/2010 by: jkatkace
Purple Belt

Please log in to comment
Darn it, hit send too soon.

You should make your search string look something like:

Answered 05/14/2010 by: jkatkace
Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity