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

Re: (ITS#6874) slapd crashes while modifying a database



For historical reference, this was the config (Considered invalid) that 
caused the crash.

# $Id: slapd.conf.tmp-ofd,v 1.2 2010/12/23 13:21:29 dieter Exp dieter $
#### Schemata, Reihenfolge wegen Abh??ngikeiten u.U. wichtig!

##############################
#       Globale Anweisungen  #
##############################
include		/etc/openldap/schema/core.schema
include		/etc/openldap/schema/cosine.schema
include		/etc/openldap/schema/inetorgperson.schema
include		/etc/openldap/schema/rfc2307bis.schema
include		/etc/openldap/schema/authldap.schema
include		/etc/openldap/schema/openldap.schema
include		/etc/openldap/schema/dyngroup.schema
include		/etc/openldap/schema/dnszone.schema
include		/etc/openldap/schema/dhcp.schema
include		/etc/openldap/schema/ofdconf.schema
include		/etc/openldap/schema/yast.schema
include		/etc/openldap/schema/ofdaddon.schema

pidfile		/tmp2/ldap1/run/slapd.pid
argsfile	/tmp2/ldap1/run/slapd.args
loglevel 0

threads 160
password-hash {CLEARTEXT}
modulepath	/usr/lib/openldap/modules
moduleload 	accesslog.la
moduleload 	dynlist.la
moduleload	memberof.la
moduleload	refint.la
moduleload	unique.la

TLSCACertificateFile /etc/openldap/ssl/ldapca.pem
TLSCertificateFile /etc/openldap/ssl/ldapcert.pem
TLSCertificateKeyFile /etc/openldap/ssl/ldapkey.pem

access to dn.base="" by * read
access to dn.base="cn=Subschema" by * read
include /etc/openldap/ofd.acl

sizelimit -1
timelimit 4000
# allow bind_v2
###############################
#       Config Database       #
###############################

database	config
rootdn		cn=config
rootpw		secret

##############################
#       Erste Database       #
##############################

database	hdb
suffix          "ou=humans,ou=steuer,o=landesverwaltung niedersachsen,c=de"
subordinate advertise
rootdn          "cn=gen.man,ou=mgr,ou=steuer,o=landesverwaltung 
niedersachsen,c=de"
directory 	/tmp2/ldap1/human-data	
checkpoint	4096	5
index		default pres,eq
index		objectclass eq
index		mail sub,eq
index		sn sub,eq
index		cn sub,eq
index		entryCSN,entryUUID
cachesize	5000
idlcachesize	15000
dbconfig set_cachesize 0 68157440 0
dbconfig set_lg_dir /tmp2/ldap1/log/bdb/human
dbconfig set_lg_regionmax 262144
dbconfig set_lg_bsize 2097152
dbconfig set_flags DB_LOG_AUTOREMOVE
overlay syncprov
syncprov-checkpoint 100 10
syncprov-sessionlog 100
syncprov-reloadhint TRUE

###############################
#      Zweite Database        #
###############################

database	hdb
suffix    "ou=system,ou=steuer,o=landesverwaltung niedersachsen,c=de"
subordinate advertise
rootdn  "cn=gen.man,ou=mgr,ou=steuer,o=landesverwaltung niedersachsen,c=de"
directory       /tmp2/ldap1/sys-data
checkpoint	4096 5
cachesize	5000
idlcachesize	1500
index	objectclass eq
index	sn,cn,mail eq,sub
index	entryCSN,entryUUID eq
dbconfig set_cachesize 0 68157440 0
dbconfig set_lg_dir /tmp2/ldap1/log/bdb/sys
dbconfig set_lg_regionmax 262144
dbconfig set_lg_bsize 2097152
dbconfig set_flags DB_LOG_AUTOREMOVE
overlay syncprov
syncprov-checkpoint 100 10
syncprov-sessionlog 100
syncprov-reloadhint TRUE

##########################
#    Dritte Database     #
##########################

database	hdb
suffix          "ou=steuer,o=landesverwaltung niedersachsen,c=de"
rootdn   "cn=gen.man,ou=mgr,ou=steuer,o=landesverwaltung niedersachsen,c=de"
rootpw          secret
directory	/tmp2/ldap1/main-data
checkpoint	4096 5
cachesize	5000
idlcachesize	1500
dbconfig set_cachesize 0 68157440 0
dbconfig set_lg_dir /tmp2/ldap1/log/bdb/main
dbconfig set_lg_regionmax 262144
dbconfig set_lg_bsize 2097152
dbconfig set_flags DB_LOG_AUTOREMOVE
	
index	objectClass	eq
index default pres,eq
index mail,telephoneNumber
index cn,sn,uid eq,sub
index entryUUID,entryCSN eq

overlay glue
overlay accesslog
logdb "cn=log"
logops  writes

overlay syncprov
syncprov-checkpoint 100 10
syncprov-reloadhint TRUE

############################
#     Log Database         #
############################

database hdb
suffix "cn=log"
directory /tmp2/ldap1/log-data
rootdn	cn=log
checkpoint 10240 5
dbconfig set_cachesize 0 367001600 0
dbconfig set_lg_dir /tmp2/ldap1/log/bdb/log
dbconfig set_lg_regionmax 262144
dbconfig set_lg_bsize 2097152
dbconfig set_flags DB_LOG_AUTOREMOVE
index objectClass eq
index reqStart,entryCSN,reqEnd,reqResult eq
overlay syncprov
syncprov-nopresent TRUE
syncprov-checkpoint 100 10

#############################
#    Monitor Database       #
#############################

database monitor
# EOF


--

Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<http://www.symas.com>