Example: mldap_search

In the following example, the mldap_search function searches for all objectclass attribute values on the base level.

mldap_search("LDAP Search",
             "Base=OU=Sales,DC=TECHNO,DC=com",
             "Scope=Base",    
            "Filter=(objectclass=*)",
             LAST );

In the following example, the mldap_search function searches the name attribute one level beneath the base, for the name Dan.

    mldap_search("LDAP Search",
         "Base=OU=Sales,DC=TECHNO,DC=com",
         "Scope=Onelevel",
         "Filter=(name=Dan)",
         "Timeout=10",
         "Mode=ASYNC", 
         LAST );