ldap/servers/slapd/libglobs.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-)
New commits: commit 846447c62e3ad2150b054c87c96e797dc1d803f3 Author: Mark Reynolds mreynolds@redhat.com Date: Wed Nov 27 14:59:14 2013 -0500
Ticket 47457 - default nsslapd-sasl-max-buffer-size should be 2MB
Description: Increase the default max buffer size to 2mb from 64k.
https://fedorahosted.org/389/ticket/47457
Reviewed by: richm(Thanks!)
diff --git a/ldap/servers/slapd/libglobs.c b/ldap/servers/slapd/libglobs.c index 9d1cf77..7f00134 100644 --- a/ldap/servers/slapd/libglobs.c +++ b/ldap/servers/slapd/libglobs.c @@ -177,8 +177,9 @@ static int config_set_schemareplace ( const char *attrname, char *value, #define DEFAULT_PW_RESETFAILURECOUNT "600" #define DEFAULT_PW_LOCKDURATION "3600" #define DEFAULT_NDN_SIZE "20971520" -#define DEFAULT_SASL_MAXBUFSIZE "65536" -#define SLAPD_DEFAULT_SASL_MAXBUFSIZE 65536 +#define DEFAULT_MAXBERSIZE 2097152 +#define DEFAULT_SASL_MAXBUFSIZE "2097152" +#define SLAPD_DEFAULT_SASL_MAXBUFSIZE 2097152 #ifdef MEMPOOL_EXPERIMENTAL #define DEFAULT_MEMPOOL_MAXFREELIST "1024" #endif @@ -5614,9 +5615,9 @@ config_get_maxbersize()
maxbersize = slapdFrontendConfig->maxbersize; if(maxbersize==0) - maxbersize= 2 * 1024 * 1024; /* Default: 2Mb */ - return maxbersize; + maxbersize = DEFAULT_MAXBERSIZE;
+ return maxbersize; }
int
389-commits@lists.fedoraproject.org