Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 73AA9200B73 for ; Mon, 15 Aug 2016 04:17:44 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 72383160AB4; Mon, 15 Aug 2016 02:17:44 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 9325D160AA9 for ; Mon, 15 Aug 2016 04:17:43 +0200 (CEST) Received: (qmail 97613 invoked by uid 500); 15 Aug 2016 02:17:42 -0000 Mailing-List: contact user-help@guacamole.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@guacamole.incubator.apache.org Delivered-To: mailing list user@guacamole.incubator.apache.org Received: (qmail 97603 invoked by uid 99); 15 Aug 2016 02:17:42 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd4-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 15 Aug 2016 02:17:42 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd4-us-west.apache.org (ASF Mail Server at spamd4-us-west.apache.org) with ESMTP id 5EA43C0439 for ; Mon, 15 Aug 2016 02:17:42 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd4-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 1.28 X-Spam-Level: * X-Spam-Status: No, score=1.28 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=2, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd4-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd4-us-west.apache.org [10.40.0.11]) (amavisd-new, port 10024) with ESMTP id DDLKQYAb-r8N for ; Mon, 15 Aug 2016 02:17:38 +0000 (UTC) Received: from mail-qt0-f176.google.com (mail-qt0-f176.google.com [209.85.216.176]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 167AB5F4EC for ; Mon, 15 Aug 2016 02:17:38 +0000 (UTC) Received: by mail-qt0-f176.google.com with SMTP id w38so16409636qtb.0 for ; Sun, 14 Aug 2016 19:17:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to; bh=qmLj/GtFkukIR2UclvoJ/zehtDsiy00c7pcRR2cSmp0=; b=0963PENUKty5D5vpiM1KI+pYanBE8B7ALYJklsUavSDe82hD67oWnaPj/5WZgLWfw9 oRmLHOZu4t5tAhCJD+3UHPtMoeNmu5AXfi6mt9IhKq0NyVlbhRLvYHNo6fCaL0qSHEoE EjSzOkONuMWHioZ+cq7nbj8uePG0uQfotRgCjgRHhrgvUOvE0AJOBn8BnjaBjkX4xhZF qu6+RiXiOoUgT1MYcoOsrARTHUVGoDyITxWHUDm0c7aivNKjfojnEiVARW4vi60usXZO ZQIJ6gg8zGONRi/653WNmFL7ypoZmvSB6hTb+jERL4lNnKvgharWpsUC/fpL340uRV8e qWMQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to; bh=qmLj/GtFkukIR2UclvoJ/zehtDsiy00c7pcRR2cSmp0=; b=D+70teHscvwqMhMGT2hjtozDhyo/uEfcKI/pE1Zd0WgKYmrx8cFFJe3tN92B3XXZXS Pk3pJ3Sp5PkXL2NuStWTkBF2WwRl1YBkLYWbp4WGeYmQRvbsVw70wxHKGrgJowEpEQ7c gyUl6ib6jnEIOm2O2l2HPzJvIQ13doc6Lu87+bWvbEZozmcrgO7QdUGQ9f6B0bg5RXrB cLr48ZNg7rFLt9hQ8IOloRk8bGI/DAzD0vVgbHueyKDmJwU0lAwkL99PszQ08fYrwkAi wf7yiT1fTEilEvsy8b+2tm9K0aT2ZbpVaDlCjUawsO0eD8bfHv5pCpKHn6ZPW4vm7Y2c T1hA== X-Gm-Message-State: AEkoouuZ2keNSRe1JCuBafK2EAB8g5g65YAPvgmdRXwptlFNoODadEdY2wDI5vE1ZUab8y+Zbzr0P8j3P20tZQ== X-Received: by 10.237.52.225 with SMTP id x88mr30231938qtd.24.1471227456942; Sun, 14 Aug 2016 19:17:36 -0700 (PDT) MIME-Version: 1.0 Sender: dagger10k@gmail.com Received: by 10.55.217.24 with HTTP; Sun, 14 Aug 2016 19:17:16 -0700 (PDT) In-Reply-To: References: From: James Muehlner Date: Sun, 14 Aug 2016 19:17:16 -0700 X-Google-Sender-Auth: 7rE9Jq3DDuG9uJ8Joj9pnzQAnDU Message-ID: Subject: Re: LDAPConnection a size limit of 1000 ? To: user@guacamole.incubator.apache.org Content-Type: multipart/alternative; boundary=94eb2c0925a6f47bea053a12d5a6 archived-at: Mon, 15 Aug 2016 02:17:44 -0000 --94eb2c0925a6f47bea053a12d5a6 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Hey Herve, I see that you created the pull request and associated ticket. Great! Let's move the discussion over to Github at this point. James On Sun, Aug 14, 2016 at 8:05 AM, Herve Guehl wrote: > Hi James, > did my homework (though this was my first time with git :p ). > The code in itself is not dirty (I hope ;), I just meant that it would > better to get the results from ldap as mentionned by RFC 2696. But IMHO > nowadays we can get more than 1000 results using a search in a ldap > directory... > > Herv=C3=A9 > > > > On Sun, Aug 14, 2016 at 2:54 AM, James Muehlner < > james.muehlner@guac-dev.org> wrote: > >> Greetings Herve, >> >> In order to accept code changes into the project, we'll need a pull >> request on GitHub = , >> and a corresponding JIRA issue in the Apache JIRA >> . See our contribution >> guidelines for >> more information. >> >> As a side note, we're always happy to accept code contributions from the >> community, but we do try to make sure that the contributions are always = up >> to our code quality standards. If you feel that your patch is a bit dirt= y, >> it may have to be cleaned up a bit before we're ready to accept it upstr= eam. >> >> James >> >> On Fri, Aug 5, 2016 at 12:45 PM, Herve Guehl >> wrote: >> >>> Hi, >>> If your active directory contains more than 1000 users in the search OU= , >>> you'll need to : >>> - Configure your active directory to extend the MaxPageSize limit >>> (default 1000) https://technet.microsoft.com/ >>> en-us/library/cc770976%28v=3Dws.11%29.aspx >>> - Use the included patch (a bit dirty, as it would be better to fetch >>> results according to the max page size, but works for me) : >>> - it enable the possibility to get more than 1000 results for a ldap >>> request for the guacamole-client. You will have to add ldap-maxresults: >>> 2000 (or the value you need) in your guacamole.properties file. >>> >>> Have fun. >>> Herv=C3=A9 >>> >> >> > --94eb2c0925a6f47bea053a12d5a6 Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hey Herve,

I see that you created the p= ull request and associated ticket. Great! Let's move the discussion ove= r to Github at this point.

James



On Sun, Aug 14, 2016 at 8:05 AM, Herve Guehl &= lt;herve.guehl@g= mail.com> wrote:
Hi James,
did my homework (though this was my f= irst time with git :p ).
The code in itself is not dirty (I hope ;), I j= ust meant that it would better to get the results from ldap as mentionned b= y RFC 2696. But IMHO nowadays we can get more than 1000 results using a sea= rch in a ldap directory...

Herv=C3=A9



=
On Sun, Aug 14, 2016 at 2:54 AM, James Muehlner = <james.muehlner@guac-dev.org> wrote:
Greetings Herve,

I= n order to accept code changes into the project, we'll need a pull requ= est on GitHub, and a corresponding JIRA issue in the Apache = JIRA. See our contribution guidelines for more information.<= /div>

As a side note, we're always happy to accept c= ode contributions from the community, but we do try to make sure that the c= ontributions are always up to our code quality standards. If you feel that = your patch is a bit dirty, it may have to be cleaned up a bit before we'= ;re ready to accept it upstream.

James
=

On Fri, Aug 5, 20= 16 at 12:45 PM, Herve Guehl <herve.guehl@gmail.com> wrot= e:
<= div>
Hi,
If your active directory contains more than 1000 user= s in the search OU, you'll need to :
=C2=A0- Configure your ac= tive directory to extend the MaxPageSize limit (default 1000) https://technet.microsoft.com/en-us/library/cc770976%28= v=3Dws.11%29.aspx
- Use the included patch (a bit dirty, = as it would be better to fetch results according to the max page size, but = works for me) :
=C2=A0=C2=A0 - it enable the possibility to get mo= re than 1000 results for a ldap request for the guacamole-client. You will = have to add ldap-maxresults: 2000=C2=A0=C2=A0 (or the value you need) in your guacamole.properties file.

Hav= e fun.
Herv=C3=A9



--94eb2c0925a6f47bea053a12d5a6--