Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1044193 - default nsslapd-sasl-max-buffer-size should be 2MB
default nsslapd-sasl-max-buffer-size should be 2MB
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: 389-ds-base (Show other bugs)
7.0
Unspecified Unspecified
low Severity unspecified
: rc
: ---
Assigned To: Rich Megginson
Viktor Ashirov
:
Depends On:
Blocks: 1136882
  Show dependency treegraph
 
Reported: 2013-12-17 16:50 EST by Nathan Kinder
Modified: 2015-03-05 04:32 EST (History)
5 users (show)

See Also:
Fixed In Version: 389-ds-base-1.3.3.1-1.el7
Doc Type: Bug Fix
Doc Text:
Cause: Heavy sasl based ldap traffic Consequence: The sasl buffer could exceed its limit Fix: Increase the sasl max buffer size to be the same as the default max BER size. Result: The server is much less likely to exceed the buffer.
Story Points: ---
Clone Of:
: 1136882 (view as bug list)
Environment:
Last Closed: 2015-03-05 04:32:47 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:0416 normal SHIPPED_LIVE Important: 389-ds-base security, bug fix, and enhancement update 2015-03-05 09:26:33 EST

  None (edit)
Description Nathan Kinder 2013-12-17 16:50:24 EST
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/389/ticket/47457

IPA migrate easily runs into the default 64KB limit - we should increase the limit to 2MB to match the sasl and ber size limit.
Comment 1 mreynolds 2014-04-22 16:38:15 EDT
There are no simple verification steps for this bug, as it involves setting up IPA and run it under a lot of load.
Comment 3 Scott Poore 2015-01-16 18:31:15 EST
Verified.

Version ::

389-ds-base-1.3.3.1-11.el7.x86_64
ipa-server-4.1.0-15.el7.x86_64

Results ::

Quick check:

[root@rhel7-1 ~]# ldapsearch -x -D "cn=Directory Manager" -w Secret123 -b cn=config |grep nsslapd-sasl-max-buffer-size
nsslapd-sasl-max-buffer-size: 2097152

Since there is no easy test for this, I think we can check above from IPA install and also results from tests where I saw the errors before.

::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
:: [   LOG    ] :: irm_list_pos_0001: list, no name
::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

:: [  BEGIN   ] :: Running 'ipa-replica-manage -p Secret123 list > /tmp/test_irm_list_pos_0001.out 2>&1'
:: [   PASS   ] :: Command 'ipa-replica-manage -p Secret123 list > /tmp/test_irm_list_pos_0001.out 2>&1' (Expected 0, got 0)
:: [  BEGIN   ] :: Running 'cat /tmp/test_irm_list_pos_0001.out'
cloud-qe-1-vm-2.testrelm.test: master
beast.testrelm.test: master
spider.testrelm.test: master
ipaqavme.testrelm.test: master
cloud-qe-4.testrelm.test: master
:: [   PASS   ] :: Command 'cat /tmp/test_irm_list_pos_0001.out' (Expected 0, got 0)
:: [   PASS   ] :: File '/tmp/test_irm_list_pos_0001.out' should contain 'cloud-qe-4.testrelm.test' 
:: [   PASS   ] :: File '/tmp/test_irm_list_pos_0001.out' should contain 'cloud-qe-1-vm-2.testrelm.test' 
:: [   PASS   ] :: File '/tmp/test_irm_list_pos_0001.out' should contain 'spider.testrelm.test' 
:: [   PASS   ] :: File '/tmp/test_irm_list_pos_0001.out' should contain 'beast.testrelm.test' 
:: [   PASS   ] :: File '/tmp/test_irm_list_pos_0001.out' should contain 'ipaqavme.testrelm.test' 
:: [  BEGIN   ] :: Running 'remotehost-sync-set -s '1.irm_list_pos_0001.0' -m cloud-qe-4.idmqe.lab.eng.bos.redhat.com'
remotehost-sync-set -s 1.irm_list_pos_0001.0 -m cloud-qe-4.idmqe.lab.eng.bos.redhat.com
Comment 6 errata-xmlrpc 2015-03-05 04:32:47 EST
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://rhn.redhat.com/errata/RHSA-2015-0416.html

Note You need to log in before you can comment on or make changes to this bug.