[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Error while updating olcDbConfig

Howard Chu wrote:
Daniel Jung wrote:
Hi wonderful ppl at openldap-
Running 2.4.37 - on centos 6.4

using following ldif to update olcDbConfig
dn: olcDatabase={2}hdb,cn=config
changetype: modify
replace: olcDbConfig
olcDbConfig: set_lg_max 10485760
olcDbConfig: set_lg_regionmax 262144
olcDbConfig: set_lg_bsize 2097152
olcDbConfig: set_lg_dir /var/lib/ldap/
olcDbConfig: set_lk_max_locks 8192
olcDbConfig: set_lk_max_objects 8192
olcDbConfig: set_flags DB_LOG_AUTOREMOVE
olcDbConfig: set_tas_spins 1

ldapmodifyx -d 1 -h localhost -D 'cn=Manager,cn=config' -W -f /var/tmp/ldif

It looks like this functionality has been broken in slapd since 2.4.32. You should get the patch for ITS#7750 to make sure slapd processees the modify request.

  -- Howard Chu
  CTO, Symas Corp.           http://www.symas.com
  Director, Highland Sun     http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP  http://www.openldap.org/project/