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

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



provider:
suffix "o=my-domain,c=ZH "

consumer :
Both search base is ou=test,ou=Department,o=my-domain,c=ZH
and ou=Department,o=my-domain,c=ZH,when ldapdelete in provider.Provider will die.

----- Original Message ----- 
From: "Pierangelo Masarati" <ando@sys-net.it>
To: "ÃÃÃÂÂÃ" <luozhijian@huawei.com>
Cc: <openldap-software@OpenLDAP.org>
Sent: Friday, April 29, 2005 10:44 PM
Subject: 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
>