Bug fix: ldap_connect call added before second ldap_bind.