OpenLDAP
Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest

Viewing Software Bugs/7416
Full headers

From: quanah@openldap.org
Subject: entryCSN index errors when changing olcDbEnvFlags with back-mdb
Compose comment
Download message
State:
0 replies:
0 followups:

Major security issue: yes  no

Notes:

Notification:


Date: Thu, 11 Oct 2012 21:48:09 +0000
From: quanah@openldap.org
To: openldap-its@OpenLDAP.org
Subject: entryCSN index errors when changing olcDbEnvFlags with back-mdb
Full_Name: Quanah Gibson-Mount
Version: 2.4.33
OS: Linux 2.6
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (74.196.25.250)


I found that if I modify the olcDbEnvFlags on a back-mdb database to have:

olcDbEnvFlags: writemap
olcDbEnvFlags: nometasync


Then modifications in the primary database will throw the following error until
slapd is restarted:


Oct 11 14:38:01 zre-ldap002 slapd[22940]: conn=1001 fd=11 ACCEPT from
PATH=/opt/zimbra/openldap-2.4.33.2z/var/run/ldapi
(PATH=/opt/zimbra/openldap-2.4.33.2z/var/run/ldapi)
Oct 11 14:38:01 zre-ldap002 slapd[22940]: conn=1001 op=0 BIND dn="cn=config"
method=128
Oct 11 14:38:01 zre-ldap002 slapd[22940]: conn=1001 op=0 BIND dn="cn=config"
mech=SIMPLE ssf=0
Oct 11 14:38:01 zre-ldap002 slapd[22940]: conn=1001 op=0 RESULT tag=97 err=0
text=
Oct 11 14:38:01 zre-ldap002 slapd[22940]: conn=1001 op=1 SRCH
base="cn=accesslog" scope=0 deref=2 filter="(objectClass=*)"
Oct 11 14:38:01 zre-ldap002 slapd[22940]: conn=1001 op=1 SRCH attr=1.1
Oct 11 14:38:01 zre-ldap002 slapd[22940]: conn=1001 op=1 SEARCH RESULT tag=101
err=32 nentries=0 text=
Oct 11 14:38:01 zre-ldap002 slapd[22940]: conn=1001 op=2 SRCH
base="olcDatabase={2}mdb,cn=config" scope=0 deref=2 filter="(objectClass=*)"
Oct 11 14:38:01 zre-ldap002 slapd[22940]: conn=1001 op=2 SRCH
attr=olcDbEnvFlags
Oct 11 14:38:01 zre-ldap002 slapd[22940]: conn=1001 op=2 SEARCH RESULT tag=101
err=0 nentries=1 text=
Oct 11 14:38:01 zre-ldap002 slapd[22940]: conn=1001 op=3 MOD
dn="olcDatabase={2}mdb,cn=config"
Oct 11 14:38:01 zre-ldap002 slapd[22940]: conn=1001 op=3 MOD attr=olcDbEnvFlags
Oct 11 14:38:01 zre-ldap002 slapd[22940]: slap_queue_csn: queing 0x7f88c17fc3f0
20121011213801.832254Z#000000#000#000000
Oct 11 14:38:01 zre-ldap002 slapd[22940]: conn=1001 op=3 RESULT tag=103 err=0
text=
Oct 11 14:38:01 zre-ldap002 slapd[22940]: slap_graduate_commit_csn: removing
0x41d4690 20121011213801.832254Z#000000#000#000000
Oct 11 14:38:01 zre-ldap002 slapd[22940]: conn=1001 op=4 MOD
dn="uid=zmpostfix,cn=appaccts,cn=zimbra"
Oct 11 14:38:01 zre-ldap002 slapd[22940]: conn=1001 op=4 MOD attr=zimbraId
Oct 11 14:38:01 zre-ldap002 slapd[22940]: slap_queue_csn: queing 0x7f88c17fd1a0
20121011213801.864697Z#000000#000#000000
Oct 11 14:38:01 zre-ldap002 slapd[22940]: conn=1001 op=4: attribute "entryCSN"
index delete failure
Oct 11 14:38:01 zre-ldap002 slapd[22940]: conn=1001 op=4 RESULT tag=103 err=80
text=
Oct 11 14:38:01 zre-ldap002 slapd[22940]: slap_graduate_commit_csn: removing
0x41d4690 20121011213801.864697Z#000000#000#000000
Oct 11 14:38:01 zre-ldap002 slapd[22940]: conn=1001 fd=11 closed (connection
lost)



Oct 11 14:38:06 zre-ldap002 slapd[22940]: conn=1004 fd=14 closed (connection
lost)
Oct 11 14:38:09 zre-ldap002 slapd[22940]: conn=1005 fd=11 ACCEPT from
IP=10.137.242.52:47811 (IP=10.137.242.52:389)
Oct 11 14:38:09 zre-ldap002 slapd[22940]: conn=1005 op=0 EXT
oid=1.3.6.1.4.1.1466.20037
Oct 11 14:38:09 zre-ldap002 slapd[22940]: conn=1005 op=0 STARTTLS
Oct 11 14:38:09 zre-ldap002 slapd[22940]: conn=1005 op=0 RESULT oid= err=0
text=
Oct 11 14:38:09 zre-ldap002 slapd[22940]: conn=1005 fd=11 TLS established
tls_ssf=256 ssf=256
Oct 11 14:38:09 zre-ldap002 slapd[22940]: conn=1005 op=1 BIND
dn="uid=zimbra,cn=admins,cn=zimbra" method=128
Oct 11 14:38:09 zre-ldap002 slapd[22940]: conn=1005 op=1 BIND
dn="uid=zimbra,cn=admins,cn=zimbra" mech=SIMPLE ssf=0
Oct 11 14:38:09 zre-ldap002 slapd[22940]: conn=1005 op=1 RESULT tag=97 err=0
text=
Oct 11 14:38:09 zre-ldap002 slapd[22940]: conn=1005 op=2 SRCH
base="cn=zre-ldap002.eng.vmware.com,cn=servers,cn=zimbra" scope=0 deref=0
filter="(objectClass=*)"
Oct 11 14:38:09 zre-ldap002 slapd[22940]: conn=1005 op=2 SEARCH RESULT tag=101
err=0 nentries=1 text=
Oct 11 14:38:09 zre-ldap002 slapd[22940]: conn=1005 op=3 SRCH
base="cn=config,cn=zimbra" scope=0 deref=0 filter="(objectClass=*)"
Oct 11 14:38:09 zre-ldap002 slapd[22940]: conn=1005 op=3 SEARCH RESULT tag=101
err=0 nentries=1 text=
Oct 11 14:38:10 zre-ldap002 slapd[22940]: conn=1005 op=4 MOD
dn="cn=zre-ldap002.eng.vmware.com,cn=servers,cn=zimbra"
Oct 11 14:38:10 zre-ldap002 slapd[22940]: conn=1005 op=4 MOD
attr=zimbraMtaSmtpdMilters
Oct 11 14:38:10 zre-ldap002 slapd[22940]: slap_queue_csn: queing 0x7f88c17fd1a0
20121011213810.017749Z#000000#000#000000
Oct 11 14:38:10 zre-ldap002 slapd[22940]: conn=1005 op=4: attribute "entryCSN"
index delete failure
Oct 11 14:38:10 zre-ldap002 slapd[22940]: conn=1005 op=4 RESULT tag=103 err=80
text=
Oct 11 14:38:10 zre-ldap002 slapd[22940]: slap_graduate_commit_csn: removing
0x41d5110 20121011213810.017749Z#000000#000#000000
Oct 11 14:38:10 zre-ldap002 slapd[22940]: conn=1005 fd=11 closed (connection
lost)
Up to top level
Build   Contrib   Development   Documentation   Historical   Incoming   Software Bugs   Software Enhancements   Web  

Logged in as guest


The OpenLDAP Issue Tracking System uses a hacked version of JitterBug

______________
© Copyright 2013, OpenLDAP Foundation, info@OpenLDAP.org