The netstat output you included indicates that these are sockets established for DNS lookups. ldap_bind (and any function that deals with hostnames) uses the resolver library to map hostnames to internet addresses. This is an issue with your system's resolver library, not OpenLDAP.