[jira] [Commented] (OAK-2874) [ldap] enable listUsers to work for more than 1000 external users

2015-07-08 Thread Tobias Bocanegra (JIRA)

[ 
https://issues.apache.org/jira/browse/OAK-2874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14618890#comment-14618890
 ] 

Tobias Bocanegra commented on OAK-2874:
---

looks like apache ds doesn't support the soft-limit for search results, i.e. we 
can't test the AD behaviour:

http://markmail.org/message/ggwbqxm3kiufepxo
{quote}

If you look at OpenLDAP documentation, they have two limits on the
server : a soft limit and a hard limit. The hard limit can't be
overruled, except by the admin user. The soft limit is the one that is
used when there is no limit set in the search request. In any case, you
won't be able to fetch more than the server's hard size limit :

http://www.openldap.org/doc/admin24/limits.html

In ApacheDS, we don't have any soft limit, but we have a hard limit.

AD has a different implementation, which allows you to read all the
entries, whatever the server's sizeLimit is.
{quote}


 [ldap] enable listUsers to work for more than 1000 external users
 -

 Key: OAK-2874
 URL: https://issues.apache.org/jira/browse/OAK-2874
 Project: Jackrabbit Oak
  Issue Type: Bug
  Components: auth-ldap
Affects Versions: 1.2.1
Reporter: Nicolas Peltier
Assignee: Tobias Bocanegra
 Fix For: 1.4


 LDAP servers are usually limited to return 1000 search results. Currently 
 LdapIdentityProvider.listUsers() doesn't take care of that limitation and 
 prevent the client user to retrieve more.(cc [~tripod]) 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OAK-2874) [ldap] enable listUsers to work for more than 1000 external users

2015-07-08 Thread Tobias Bocanegra (JIRA)

[ 
https://issues.apache.org/jira/browse/OAK-2874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14618071#comment-14618071
 ] 

Tobias Bocanegra commented on OAK-2874:
---

btw: asked users at directory for guidance: 
http://directory.markmail.org/thread/u55ye73u4lerhrya

 [ldap] enable listUsers to work for more than 1000 external users
 -

 Key: OAK-2874
 URL: https://issues.apache.org/jira/browse/OAK-2874
 Project: Jackrabbit Oak
  Issue Type: Bug
  Components: auth-ldap
Affects Versions: 1.2.1
Reporter: Nicolas Peltier
Assignee: Tobias Bocanegra
 Fix For: 1.4


 LDAP servers are usually limited to return 1000 search results. Currently 
 LdapIdentityProvider.listUsers() doesn't take care of that limitation and 
 prevent the client user to retrieve more.(cc [~tripod]) 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OAK-2874) [ldap] enable listUsers to work for more than 1000 external users

2015-07-08 Thread Tobias Bocanegra (JIRA)

[ 
https://issues.apache.org/jira/browse/OAK-2874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14619180#comment-14619180
 ] 

Tobias Bocanegra commented on OAK-2874:
---

also fixed in 1.2 branch, r1689937

 [ldap] enable listUsers to work for more than 1000 external users
 -

 Key: OAK-2874
 URL: https://issues.apache.org/jira/browse/OAK-2874
 Project: Jackrabbit Oak
  Issue Type: Bug
  Components: auth-ldap
Affects Versions: 1.2.1
Reporter: Nicolas Peltier
Assignee: Tobias Bocanegra
 Fix For: 1.4


 LDAP servers are usually limited to return 1000 search results. Currently 
 LdapIdentityProvider.listUsers() doesn't take care of that limitation and 
 prevent the client user to retrieve more.(cc [~tripod]) 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OAK-2874) [ldap] enable listUsers to work for more than 1000 external users

2015-07-07 Thread Tobias Bocanegra (JIRA)

[ 
https://issues.apache.org/jira/browse/OAK-2874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14617645#comment-14617645
 ] 

Tobias Bocanegra commented on OAK-2874:
---

added test case in r1689773

 [ldap] enable listUsers to work for more than 1000 external users
 -

 Key: OAK-2874
 URL: https://issues.apache.org/jira/browse/OAK-2874
 Project: Jackrabbit Oak
  Issue Type: Bug
  Components: auth-ldap
Affects Versions: 1.2.1
Reporter: Nicolas Peltier

 LDAP servers are usually limited to return 1000 search results. Currently 
 LdapIdentityProvider.listUsers() doesn't take care of that limitation and 
 prevent the client user to retrieve more.(cc [~tripod]) 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OAK-2874) [ldap] enable listUsers to work for more than 1000 external users

2015-06-23 Thread Tobias Bocanegra (JIRA)

[ 
https://issues.apache.org/jira/browse/OAK-2874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14597842#comment-14597842
 ] 

Tobias Bocanegra commented on OAK-2874:
---

Since the API is only used internally, and not exposed to a UI right now, I 
think it would make sense to only fix it transparently if possible.
We can still add a paging or cursor based API later.

 [ldap] enable listUsers to work for more than 1000 external users
 -

 Key: OAK-2874
 URL: https://issues.apache.org/jira/browse/OAK-2874
 Project: Jackrabbit Oak
  Issue Type: Bug
  Components: auth-ldap
Affects Versions: 1.2.1
Reporter: Nicolas Peltier

 LDAP servers are usually limited to return 1000 search results. Currently 
 LdapIdentityProvider.listUsers() doesn't take care of that limitation and 
 prevent the client user to retrieve more.(cc [~tripod]) 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OAK-2874) [ldap] enable listUsers to work for more than 1000 external users

2015-06-14 Thread Nicolas Peltier (JIRA)

[ 
https://issues.apache.org/jira/browse/OAK-2874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14585208#comment-14585208
 ] 

Nicolas Peltier commented on OAK-2874:
--

Yep, either adding a paged search api, either somehow fetch more if capped 
search is detected with existing api is fine

 [ldap] enable listUsers to work for more than 1000 external users
 -

 Key: OAK-2874
 URL: https://issues.apache.org/jira/browse/OAK-2874
 Project: Jackrabbit Oak
  Issue Type: Bug
  Components: auth-ldap
Affects Versions: 1.2.1
Reporter: Nicolas Peltier

 LDAP servers are usually limited to return 1000 search results. Currently 
 LdapIdentityProvider.listUsers() doesn't take care of that limitation and 
 prevent the client user to retrieve more.(cc [~tripod]) 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Commented] (OAK-2874) [ldap] enable listUsers to work for more than 1000 external users

2015-06-12 Thread Tobias Bocanegra (JIRA)

[ 
https://issues.apache.org/jira/browse/OAK-2874?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanelfocusedCommentId=14583911#comment-14583911
 ] 

Tobias Bocanegra commented on OAK-2874:
---

we it be enough to fix the LDAP provider to properly fetch more if the initial 
search result is capped?

 [ldap] enable listUsers to work for more than 1000 external users
 -

 Key: OAK-2874
 URL: https://issues.apache.org/jira/browse/OAK-2874
 Project: Jackrabbit Oak
  Issue Type: Bug
  Components: auth-ldap
Affects Versions: 1.2.1
Reporter: Nicolas Peltier

 LDAP servers are usually limited to return 1000 search results. Currently 
 LdapIdentityProvider.listUsers() doesn't take care of that limitation and 
 prevent the client user to retrieve more.(cc [~tripod]) 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)