ldap_destroy is not availabe in early 2.4