[ 
https://issues.apache.org/jira/browse/KNOX-3386?focusedWorklogId=1033203&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-1033203
 ]

ASF GitHub Bot logged work on KNOX-3386:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 31/Jul/26 12:13
            Start Date: 31/Jul/26 12:13
    Worklog Time Spent: 10m 
      Work Description: handavid commented on code in PR #1331:
URL: https://github.com/apache/knox/pull/1331#discussion_r3690330130


##########
knox-site/docs/service_ldap_server.md:
##########
@@ -44,6 +44,8 @@ The service is configured in `gateway-site.xml`.
 | `gateway.ldap.roles.lookup.strategy` | N/A | The LDAP roles lookup strategy 
(`file` or `rest`). |
 | `gateway.ldap.roles.lookup.rest.api.endpoint` | N/A | The LDAP roles lookup 
REST API endpoint. |
 | `gateway.ldap.roles.lookup.file.path` | N/A | The LDAP roles lookup file 
path. |
+| `gateway.ldap.roles.max.size.limit` | 1000 | The maximum size limit of the 
result set returned by search requests. |
+| `gateway.ldap.roles.max.time.limit` | 60000 | The maximum time limit for 
search requests in milliseconds. |

Review Comment:
   fixed



##########
knox-site/docs/service_ldap_server.md:
##########
@@ -198,6 +200,10 @@ The proxy backend delegates lookups to a remote LDAP or 
Active Directory server.
 | `gateway.ldap.interceptor.<name>.groupMemberAttribute` | `memberUid` | 
Attribute used for group membership (e.g., `member` for AD). |
 | `gateway.ldap.interceptor.<name>.useMemberOf` | `false` | If `true`, use the 
`memberOf` attribute for efficient group lookups. |
 | `gateway.ldap.interceptor.<name>.proxy.poolMaxActive` | `8` | Maximum number 
of active connections in the pool. |
+| `gateway.ldap.interceptor.<name>.pageSize` | `1000` | Page size for search 
requests. |
+| `gateway.ldap.interceptor.<name>.maxResultSetSize` | `0` | Maximum number of 
results to return from a search, regardless of paging. 0 means unlimited. |
+
+NOTE: If this value is undefined and the interceptor was created by the 
KnoxLDAPServerManager, the KnoxLDAPServerManager will set the 
`gateway.ldap.interceptor.<name>.maxResultSetSize` value to be 1 greater than 
the proxy's `gateway.ldap.roles.max.time.limit` configuration. This will ensure 
that the proxy returns a "Size limit exceeded" result if the backend has more 
results than the proxy's limit.

Review Comment:
   fixed





Issue Time Tracking
-------------------

    Worklog Id:     (was: 1033203)
    Time Spent: 1h 10m  (was: 1h)

> Knox LDAP Proxy supports paging to backends
> -------------------------------------------
>
>                 Key: KNOX-3386
>                 URL: https://issues.apache.org/jira/browse/KNOX-3386
>             Project: Apache Knox
>          Issue Type: Improvement
>          Components: Server
>            Reporter: David Han
>            Assignee: David Han
>            Priority: Major
>             Fix For: 3.0.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> The LDAP proxy should page results from the remote backends when retrieving 
> large result sets.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to