ASAIK, this library is support, and many other functions.
The only problem is ldap_get_values with dim type for the result (dynamics arrays).
an exemple (not perfect) with the first entry
lpres.l
base$ = "dc=ldap, dc=fr"
filter$ = "(objectClass=*)"
#LDAP_SUCCESS = 0
#LDAP_OPT_VERSION = $11
#LDAP ...