On 13/12/10 15:03, Rob Yamry wrote: > (output below), it runs the condition and regardless of the outcome it > performs a search against ldap for the mac, which will always fail and > causes unnecessary queries. > How can I accomplish this? Use an "else": if (...) { } else { ldap }