Marc Patermann schrieb (21.02.2012 14:44 Uhr):
Buchan Milne schrieb (21.02.2012 12:48 Uhr):
On Tuesday, 21 February 2012 12:41:40 Marc Patermann wrote:
Buchan Milne schrieb (21.02.2012 11:38 Uhr):
As far as I have read in changelogs and ITS, anything from OPENLDAP_REL_ENG_2_4 (including 2.4.29) before:
commit 10c81e2a46c9b603ba1dfcf53422573d5068ba04 Author: Howard Chu hyc@openldap.org Date: Sun Feb 12 21:07:25 2012 -0800
ITS#7162 Revert "ITS#7052 ignore Adds with too old entryCSN" This reverts commit ba4366eae098c0e4950a78b1da8d79ffe8b34fee. The patch caused a regression (ITS#7162).
will probably still be broken.
Thank you. But what does this mean to me exactly? What is the best to try now?
Current OPENLDAP_REL_ENG_2_4 from git, or 2.4.29 with the 2 or 3 commits in OPENLDAP_REL_ENG_2_4, or a package that has them (I have RPMs internally, but my public repo is down for a bit).
Thanks again. With building plain 2.4.29 I got the same test-054 error like Michael postet in #7162. I'm building with OPENLDAP_REL_ENG_2_4 (for the next 2 h) now.
As it turns out, I'm still having the issue with pre 2.4.30 code from the Feb 21st. After the refill of the consumer with older data, there was an initial present check and the servers are in sync. Todays changes are replicated without the DEL. :(
I do not see any changes since then which should have effects in the official 2.4.30 release, are there any?
this is the provider:
database hdb suffix "ou=humans,ou=foo" subordinate rootdn "cn=gen.man,ou=mgr,ou=foo" directory /var/lib/ldap/human-data checkpoint 4096 5 index default eq index objectClass index uid index mail sub,eq index sn sub,eq index cn sub,eq index givenName sub,eq index maildrop,ou sub,eq index entryCSN,entryUUID eq cachesize 5000 idlcachesize 15000 dbconfig set_cachesize 0 262144000 0 dbconfig set_lg_dir /var/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 database hdb suffix "ou=system,ou=foo" subordinate rootdn "cn=gen.man,ou=mgr,ou=foo" directory /var/lib/ldap/sys-data checkpoint 4096 5 cachesize 5000 idlcachesize 15000 index objectClass eq index cn eq,sub index version eq index relativeDomainName eq,sub index default eq index dhcpHWAddress index dhcpClassData index dhcpOption index entryCSN index entryUUID index zoneName dbconfig set_cachesize 1 0 0 dbconfig set_lg_dir /var/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 database bdb suffix "ou=linux,ou=foo" subordinate rootdn "cn=linux,ou=mgr,ou=foo" directory /var/lib/ldap/linux-data checkpoint 4096 5 cachesize 5000 idlcachesize 15000 dbconfig set_cachesize 0 268435456 0 dbconfig set_lg_dir /var/log/bdb/linux dbconfig set_lg_regionmax 262144 dbconfig set_lg_bsize 2097152 dbconfig set_flags DB_LOG_AUTOREMOVE index entryCSN eq index entryUUID eq index objectclass,uid,mail eq index sn,cn,givenName sub,eq index uidNumber,gidNumber eq include /etc/openldap/linux.acl overlay syncprov syncprov-checkpoint 100 10 database hdb suffix "ou=foo" rootdn "cn=gen.man,ou=mgr,ou=foo" directory /var/lib/ldap/main-data checkpoint 4096 5 cachesize 5000 idlcachesize 15000 dbconfig set_cachesize 0 8157440 0 dbconfig set_lg_dir /var/log/bdb/main dbconfig set_lg_regionmax 262144 dbconfig set_lg_bsize 2097152 dbconfig set_flags DB_LOG_AUTOREMOVE index objectClass eq index cn eq,sub index version eq index entryCSN,entryUUID eq overlay glue overlay accesslog logdb "cn=log" logops writes logpurge 10:00 01:00 overlay dynlist dynlist-attrset groupOfURLs memberURL overlay refint refint_attributes member memberOf refint_nothing "cn=dummy,ou=foo" overlay syncprov syncprov-checkpoint 100 10 database hdb suffix "cn=log" directory /var/lib/ldap/log-data rootdn "cn=gen.man,ou=mgr,ou=foo" checkpoint 10240 5 dbconfig set_cachesize 0 367001600 0 dbconfig set_lg_dir /var/log/bdb/log dbconfig set_lg_regionmax 262144 dbconfig set_lg_bsize 2097152 dbconfig set_flags DB_LOG_AUTOREMOVE index objectClass eq index cn eq,sub index reqStart eq overlay syncprov syncprov-nopresent TRUE syncprov-checkpoint 100 10 database monitor access to dn.subtree="cn=monitor" by * read
this is the consumer
include /etc/openldap/schema/core.schema include /etc/openldap/schema/cosine.schema include /etc/openldap/schema/inetorgperson.schema include /etc/openldap/schema/dyngroup.schema include /etc/openldap/schema/openldap.schema include /etc/openldap/schema/nis.schema include /etc/openldap/schema/authldap.schema include /etc/openldap/schema/ofdaddon.schema include /etc/openldap/schema/dnszone.schema include /etc/openldap/schema/dhcp.schema include /etc/openldap/schema/ofdconf.schema include /etc/openldap/schema/nagios.schema include /etc/openldap/mail.acl pidfile /var/run/slapd/slapd.pid argsfile /var/run/slapd/slapd.args modulepath /usr/lib/openldap/modules moduleload back_meta.la moduleload accesslog.la defaultsearchbase "ou=humans,ou=foo" timelimit -1 sizelimit -1 loglevel config stats stats2 sync TLSCACertificateFile /etc/openldap/ssl/ca2006.pem TLSCertificateFile /etc/openldap/ssl/cert2006.pem TLSCertificateKeyFile /etc/openldap/ssl/key2006.pem threads 400 authz-policy to authz-regexp uid=human,cn=[^,]*,cn=auth dn:"cn=human,ou=mgr,ou=foo" authz-regexp uid=cyrus,cn=[^,]*,cn=auth "ldap:///ou=humans,ou=foo??sub?(uid=cyrus)" authz-regexp uid=([^,@]*),cn=[^,]*,cn=auth "ldap:///ou=humans,ou=foo??sub?(maildrop=$1@*)" authz-regexp uid=([^,]*),cn=[^,]*,cn=auth "ldap:///ou=humans,ou=foo??sub?(maildrop=$1*)" authz-regexp "cn=human,ou=mgr,ou=foo" dn.subtree="ou=humans,ou=foo" database meta suffix "ou=bar,ou=foo" subordinate uri "ldap://meta.server/ou=bar,ou=foo" conn-ttl 30 idle-timeout 1m30s database meta suffix "ou=AllgV,ou=foo" subordinate uri "ldap://meta.server/ou=AllgV,ou=foo" conn-ttl 30 idle-timeout 1m30s database bdb suffix "ou=humans,ou=foo" subordinate directory /var/lib/ldap/human-data rootdn "cn=gen.man,ou=mgr,ou=foo" index objectclass,reqStart eq index uid,mail sub,eq index sn,cn,givenName sub,eq index maildrop,ou sub,eq index entryUUID,entryCSN eq index member eq checkpoint 4096 5 cachesize 5000 idlcachesize 5000 dbconfig set_cachesize 0 68157440 0 dbconfig set_lg_dir /var/log/bdb/human dbconfig set_lg_regionmax 262144 dbconfig set_lg_bsize 2097152 dbconfig set_flags DB_LOG_AUTOREMOVE syncrepl rid=401 provider=ldap://master.server type=refreshAndPersist retry="60 10 300 10 3600 10" searchbase="ou=humans,ou=foo" bindmethod=simple binddn="cn=human,ou=mgr,ou=foo" credentials=*** updateref ldap://master.server overlay syncprov syncprov-checkpoint 100 10 database bdb suffix "ou=linux,ou=foo" subordinate rootdn "cn=gen.man,ou=mgr,ou=foo" directory /var/lib/ldap/linux-data checkpoint 4096 5 cachesize 5000 idlcachesize 5000 idletimeout 20 dbconfig set_cachesize 0 268435456 0 dbconfig set_lg_dir /var/log/bdb/linux dbconfig set_lg_regionmax 262144 dbconfig set_lg_bsize 2097152 dbconfig set_flags DB_LOG_AUTOREMOVE index entryCSN eq index entryUUID eq index objectclass,uid,mail eq index sn,cn,givenName sub,eq index uidNumber eq index gidNumber eq index memberUid eq include /etc/openldap/linux.acl syncrepl rid=402 provider=ldap://master.server type=refreshAndPersist retry="60 10 300 10 3600 +" searchbase="ou=linux,ou=foo" bindmethod=simple binddn="cn=linux,ou=mgr,ou=foo" credentials=*** updateref ldap://master.server overlay syncprov syncprov-checkpoint 100 10 database bdb suffix "ou=system,ou=foo" directory /var/lib/ldap/sys-data rootdn "cn=gen.man,ou=mgr,ou=foo" index objectclass eq index cn sub,eq index version eq index relativeDomainName eq,sub index dhcpHWAddress,dhcpClassData,dhcpOption eq index entryCSN,entryUUID,zoneName eq checkpoint 4096 5 cachesize 5000 idlcachesize 5000 dbconfig set_cachesize 0 268435456 0 dbconfig set_lg_dir /var/log/bdb/sys dbconfig set_lg_regionmax 262144 dbconfig set_lg_bsize 2097152 dbconfig set_flags DB_LOG_AUTOREMOVE syncrepl rid=403 provider=ldap://master.server type=refreshAndPersist retry="60 10 300 10 3600 +" searchbase="ou=system,ou=foo" bindmethod=simple binddn="cn=sys,ou=mgr,ou=foo" credentials=*** updateref ldap://master.server subordinate overlay syncprov syncprov-checkpoint 100 10 database bdb suffix "ou=foo" rootdn "cn=gen.man,ou=mgr,ou=foo" directory /var/lib/ldap/main-data index objectclass,uid,mail eq index sn,cn,givenName sub,eq index maildrop,ou sub,eq index entryUUID,entryCSN eq checkpoint 4096 5 cachesize 5000 idlcachesize 5000 dbconfig set_cachesize 0 8157440 0 dbconfig set_lg_dir /var/log/bdb/main dbconfig set_lg_regionmax 262144 dbconfig set_lg_bsize 2097152 dbconfig set_flags DB_LOG_AUTOREMOVE overlay glue overlay accesslog logdb "cn=log" logops writes logpurge 180+00:00 1+00:00 database monitor access to dn.subtree="cn=monitor" by * read database config rootdn "cn=gen.man,ou=mgr,ou=foo" database bdb suffix "cn=log" directory /var/lib/ldap/log-data rootdn "cn=gen.man,ou=mgr,ou=foo" index objectclass,reqStart eq checkpoint 4096 5 cachesize 5000 idlcachesize 5000 dbconfig set_cachesize 0 8157440 0 dbconfig set_lg_dir /var/log/bdb/log dbconfig set_lg_regionmax 262144 dbconfig set_lg_bsize 2097152 dbconfig set_flags DB_LOG_AUTOREMOVE
Marc