public void testCompareWithoutAuthentication() throws LdapException
{
getLdapServer().getDirectoryService().setAllowAnonymousAccess( false );
LdapConnection conn = new LdapNetworkConnection( "localhost", getLdapServer().getPort() );
conn.compare( "uid=admin,ou=system", "uid", "admin" );
fail( "Compare success without authentication" );
}
/**