(ITS#7476) patch for ldap_pvt_connect