Bug 15543 - lDAPAdminLimits MaxPageSize policy does not work
Summary: lDAPAdminLimits MaxPageSize policy does not work
Status: NEW
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 normal (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: 2023-12-27 09:01 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