#48326 [RFE] it could be nice to have nsslapd-maxbersize default to bigger than 2Mb
Closed: wontfix None Opened 5 years ago by nhosoi.

Description of problem:

In certain IPA envs, we can see ipa-replica-install failing because of on line
init failing due to entries bigger than 2Mb.

Version-Release number of selected component (if applicable):

observed in 389-ds-base-

But in master and 1.3 versions, default is still to 2Mb:

 git branch
* master

grep DEFAULT_MAXBERSIZE ./ldap/servers/slapd/libglobs.c
#define DEFAULT_MAXBERSIZE 2097152

The biggest issue with this bug is that we cannot set the maxbersize to
continue since the ipa-replica-install is creating instance from scratch +


Edit file /usr/share/dirsrv/data/template-dse.ldif before replica install
and a line

nsslapd-maxbersize: <new size>

under cn-config. Like:

dn: cn=config
nsslapd-maxbersize: <new size>
cn: config

Comment by Ludwig:
if limit can be raised or ignored under specidfic conditions, eg in replication.

Ack, one minor thing. If this is only for openldap, you could put that entire code block inside the #if/#endif

Replying to [comment:3 mreynolds]:

Ack, one minor thing. If this is only for openldap, you could put that entire code block inside the #if/#endif

That's true. Thanks, Mark! I'm modifying the patch as you suggested...

git patch file (master) -- revised based on the comments by Mark (Thanks!!)

Reviewed by Mark (Thanks!!) Pushed to master: cb209be..3fe2464 master -> master commit 3fe24648364634649aa7379095e915e7ab9058cd
CI test - Pushed to master: 3fe2464..8982b30 master -> master commit 8982b3008dcf456a1a116a8aede6f9d35b220bda

A good idea! Thanks, Simon!

To ssh://git.fedorahosted.org/git/389/ds.git
e218a18..db116a4 master -> master

commit db116a4
Author: Simon Pichugin spichugi@redhat.com
Date: Fri Jul 3 15:52:23 2015 +0200

Metadata Update from @nhosoi:
- Issue assigned to nhosoi
- Issue set to the milestone:

4 years ago

389-ds-base is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in 389-ds-base's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/389ds/389-ds-base/issues/1657

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata Update from @spichugi:
- Issue close_status updated to: wontfix (was: Fixed)

a year ago

Login to comment on this ticket.