Filtering LDAP results from LDAP search

Version 1
    This document was generated from CDN thread

    Created by: Simon Lemire on 03-12-2012 12:44:05 PM
    Hi, I'm using the LDAP Search COM Server in the SDK and I would like to filter the search results.
    For example, I want to filter out entries that do not have a telephone number.
    Is this possible with the API included in the SDK?

    Subject: RE: Filtering LDAP results from LDAP search
    Replied by: David Staudt on 03-12-2012 02:41:31 PM
    The LDAPSearch component is fairly limited in what it can do, and beyond what's documented that's it.  It is included in the SDK more as a working example than as a robust enterprise solution.

    It is quite possible to query LDAPs using today's CGI environments, with the obvious benefits being native inclusion and near infinite flexibility.  A few threads that might be helpful:
    http://forums.aspfree.com/code-bank-54/asp-code-query-ad-ldap-169652.html
    http://stackoverflow.com/questions/7946856/user-authentication-over-ldap-in-asp