LDAP_SET_ERRNO
LDAP_SET_ERRNO( csip->csi_ld, EINVAL );
LDAP_SET_ERRNO( defcsip->csi_ld, EINVAL );
LDAP_SET_ERRNO( ld, EHOSTUNREACH ); /* close enough */
LDAP_SET_ERRNO( ld, EWOULDBLOCK );
LDAP_SET_ERRNO( ld, 0 );
LDAP_SET_ERRNO( ld, 0 );
LDAP_SET_ERRNO(ld, EIO);
LDAP_SET_ERRNO(ld, EIO);