modify exception because of net-ldap returning false