Bug 15543 - lDAPAdminLimits MaxPageSize policy does not work
Summary: lDAPAdminLimits MaxPageSize policy does not work
Status: RESOLVED WONTFIX
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: AD: LDB/DSDB/SAMDB (show other bugs)
Version: 4.19.3
Hardware: All All
: P5 minor (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-12-27 07:46 UTC by Dinar Yulmukhametov
Modified: 2025-01-13 21:05 UTC (History)
1 user (show)

See Also:


Attachments
Adds support for MaxPageSize policy limit (4.08 KB, patch)
2023-12-27 09:01 UTC, Dinar Yulmukhametov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Dinar Yulmukhametov 2023-12-27 07:46:27 UTC
Overview:
Setting query policy lDAPAdminLimits MaxPageSize has no effect - page size does not limited.

Steps to Reproduce:
1) Configure lDAPPolicyLimits: MaxPageSize policy.
2) Request some data (from LDAP) that is larger than MaxPageSize.

Actual Results:
Return all data

Expected Results:
Data with MaxPageSize size and error code 0x4 "Size Limit Exceeded"
Comment 1 Dinar Yulmukhametov 2023-12-27 09:01:54 UTC
Created attachment 18208 [details]
Adds support for MaxPageSize policy limit
Comment 2 Matthias Dieter Wallnöfer 2025-01-13 16:51:15 UTC
https://gitlab.com/samba-team/samba/-/merge_requests/3465

As per the feedback given by @abartlet on Gitlab we currently do not intend to accept this change. We do not support AD's "MaxPageSize" attribute, since we have other restrictions in place.

Theoretically the bug could be closed, but "RESOLVED" does not sound correct to me. In the past we had also "WORKSFORME" as a bugzilla status, but this seems to have gone.