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

Re: Sync Replication searchbase muset be a suffix of a db?



Your slapd.conf looks really screwed; look at what are supposed to be '='
chars in the DNs below.  Apart from this, setting the searchBase to
something that is not subordinate to the database it's syncrepl'ing for
sounds a bit odd to me.  What is it supposed to replicate then?  I concur
that slapd shouldn't die, so if it is, please file an ITS with adequate
information to spot and reproduce the problem.

p.


>
> Sync Replication searchbase muset be a suffix of a db?
> I found,if not,when ldapdelete,provider will die at
> bdb_idl_fetch_key.(modify and add work ok)
> folowing is my slapd.conf,when set consumer's
> searchbase="ou=test,ouÞpartment,oªa,c=ZH",provider will die at
> bdb_idl_fetch_key.
> when set consumer's searchbase="oªa,c=ZH",it work well.
>
> openldap 2.2.24 bdb4.2
> consumer:
> #######################################################################
> # consumer database definitions
> #######################################################################
>
> database        bdb
> suffix          "oªa,c=ZH"
> directory       ./testrun/db.2.a
> rootdn          "cn=Manager,oªa,c=ZH"
> rootpw          secret
>
> # Don't change syncrepl spec yet
> syncrepl rid=1
>                  provider=ldap://localhost:9011
>                  updatedn="cn=Manager,oªa,c=ZH"
>                  binddn="cn=Manager,oªa,c=ZH"
>                  bindmethod=simple
>                  credentials=secret
>                  searchbase="ou=test,ouÞpartment,oªa,c=ZH"
>                  filter="(objectClass=*)"
>                  attrs="*"
>                  schemachecking=off
>                  scope=sub
>                  type=refreshAndPersist
>
> provider:
> #######################################################################
> # provider database definitions
> #######################################################################
>
> database        bdb
> suffix          "oªa,c=ZH"
> directory       ./testrun/db.1.a
> rootdn          "cn=Manager,oªa,c=ZH"
> rootpw          secret
>
> sessionlog 1 100
>
>


-- 
Pierangelo Masarati
mailto:pierangelo.masarati@sys-net.it


    SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497