List Info

Thread: Re: (ITS#5014) syncrepl failure syslog




Re: (ITS#5014) syncrepl failure syslog
country flaguser name
United States
2007-06-14 16:08:09
donnu.washington.edu wrote:

> Hard to tell why syncrepl isn't working, if it discards
error messages. 

This patch was not submitted according to the guidelines of
usual
contributions, which makes it hard to apply.  In any case,
it appears to
be incorrect, since the response code should not be
extracted that
early, namely before getting the message type.  AFAIK, only
an
LDAP_RES_SEARCH_RESULT could contain an error, and that
value is already
parsed out and stored in "err".  What's missing is
a log in case "err"
indicates an error.  So what's really relevant in your
patch, and
missing from the code, is a test for "err" after
the "done" label.  I
have applied something along those lines to the code. 
Please test.

p.



Ing. Pierangelo Masarati
OpenLDAP Core Team

SysNet s.r.l.
via Dossi, 8 - 27100 Pavia - ITALIA
http://www.sys-net.it
---------------------------------------
Office:  +39 02 23998309
Mobile:  +39 333 4963172
Email:   pierangelo.masaratisys-net.it
---------------------------------------




[1]

about | contact  Other archives ( Real Estate discussion Medical topics )