mirror of
https://github.com/samba-team/samba.git
synced 2024-12-24 21:34:56 +03:00
d7e5213818
Add two new smb.conf parameters to control the maximum permitted ldap request size. Adds: ldap max anonymous request size default 250Kb ldap max authenticated request size default 16Mb Credit to OSS-Fuzz REF: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=20454 BUG: https://bugzilla.samba.org/show_bug.cgi?id=14334 Signed-off-by: Gary Lockyer <gary@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
19 lines
555 B
XML
19 lines
555 B
XML
<samba:parameter name="ldap max authenticated request size"
|
|
context="G"
|
|
type="integer"
|
|
xmlns:samba="http://www.samba.org/samba/DTD/samba-doc">
|
|
<description>
|
|
<para>
|
|
This parameter specifies the maximum permitted size (in bytes)
|
|
for an LDAP request received on an authenticated connection.
|
|
</para>
|
|
|
|
<para>
|
|
If the request size exceeds this limit the request will be
|
|
rejected.
|
|
</para>
|
|
</description>
|
|
<value type="default">16777216</value>
|
|
<value type="example">4194304</value>
|
|
</samba:parameter>
|