encoded packet size too big when using openldap ldapmodify

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



We recently attempted to move our OpenLDAP master from a Scientific Linux
6 machine to SL7.  On upgrading, we found that some large ldapmodify
ldifs using sasl/gssapi were failing with an error like:

slapd[26949]: encoded packet size too big (83200 > 65536)

(the larger packet size would always be the same for the same ldif).

Some version information:

Scientific Linux 7.2
openldap-2.4.44 (our own build)

We can make this problem go away by setting, for example, the following
in slapd.conf:

sasl-secprops maxbufsize=262144

The default, according to slapd.conf(5) is 65536, corresponding to the
number in the error message above.

However, it doesn't seem like we should be needing to modify this buffer
size on the server side.  The client side default is also 65536, according
to ldap.conf(5), so something seems to be going awry.

Looking back through the archives of this list, I find a similar report
from last year (although this particular report involves cyrus murder
and mail delivery, the problem appears to be the same):


This report links to the following bug:


Interestingly, the one-line patch in that bug does indeed fix our problem,
althought I note there is some disquiet in pushing this patch, so it
appears that this issue remains unresolved.

Toby Blake,
School of Informatics
University of Edinburgh

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.

[Index of Archives]     [Info Cyrus]     [Squirrel Mail]     [Linux Media]     [Yosemite News]     [gtk]     [KDE]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux