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

syncrepl with empty database fails



Hi,
I am testing HEAD and try to sync a consumer with an empty database
but this fails, it seems that the root entry should be deleted


bdb_dn2entry("o=avci,c=de")
=> access_allowed: delete access to "o=avci,c=de" "entry" requested
<= root access granted
=> access_allowed: delete access granted by manage(=mwrscxd)
<=- bdb_delete: non-leaf o=avci,c=de
send_ldap_result: conn=-1 op=0 p=3
send_ldap_result: err=66 matched="" text="subordinate objects must be deleted first"
syncrepl_del_nonpresent: rid=003 be_delete o=avci,c=de (66)
bdb_modify: o=avci,c=de
bdb_dn2entry("o=avci,c=de")
bdb_modify_internal: 0x00000002: o=avci,c=de
<= acl_access_allowed: granted to database root
bdb_modify_internal: replace objectClass
slapd: mods.c:64: modify_add_values: Assertion `mod->sm_numvals == i' failed.
Abgebrochen

database        bdb
suffix          "o=avci,c=de"
rootdn          "cn=admin,o=avci,c=de"
rootpw          
checkpoint      1024 5
cachesize       2000
idlcachesize    6000
directory       /tmp/slapd2

index   objectClass     eq
index default pres,eq
index mail,telephoneNumber
index cn,sn,uid eq,sub
index entryUUID,entryCSN eq

syncrepl rid=03
        provider="ldap://localhost:9007";
        binddn="cn=replicator,o=avci,c=de"
        bindmethod=simple
        credentials=replicator
        searchbase="o=avci,c=de"
        scope=sub
        type=refreshAndPersist
        retry="5 5 300 5"
        logbase="cn=log"
        syncdata=accesslog


-Dieter

-- 
Dieter Klünter | Systemberatung
http://www.dkluenter.de
GPG Key ID:8EF7B6C6