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

Re: (ITS#5618) better error messages for syncrepl failure

henson@acm.org wrote:
> Full_Name: Paul B. Henson
> Version: 2.3.40
> OS: Gentoo
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (
> I recently installed some updates and configuration changes on one of my
> LDAP slaves. Replication broke mysteriously after that. The only thing logged
> was "slapd[30723]: do_syncrepl: rid 001 retrying (9 retries left)"
> I finally figured out that the search was failing with a protocol error because
> derefAliases was set to always, a setting I had just added. It would be useful
> if replication failure provided better error messages, something in the logs
> indicating that a protocol error had occurred because of an invalid
> dereferencing setting would have saved me a lot of time.

An additional log message for this situation has been added.

> In addition, if it is a protocol error to dereference aliases in the context of
> syncrepl, shouldn't the server just ignore that global configuration setting and
> just do the right thing?

A patch has been applied to always set Deref to Never. These changes are in 
CVS HEAD, please test.

   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/