[Date Prev][Date Next]
Re: (ITS#8116) [PATCH] ldapsearch: print 'SyncInfo Received' as a comment.
- To: openldap-its@OpenLDAP.org
- Subject: Re: (ITS#8116) [PATCH] ldapsearch: print 'SyncInfo Received' as a comment.
- From: email@example.com
- Date: Tue, 31 Oct 2017 17:06:02 +0000
- Auto-submitted: auto-generated (OpenLDAP-ITS)
On Wed, Apr 29, 2015 at 05:04:27PM +0000, firstname.lastname@example.org wrote:
> email@example.com wrote:
>> When the -Esync command line option is used and a Sync Info
>> Message (RFC4533) is received, ldapsearch simply prints
>> 'SyncInfo Received' to STDOUT. This causes LDIF parsers and
>> other tools which consume ldapsearch output to break on invalid
>> Change this informational message to be conveyed as a comment.
>> Additionally, hide the message when comments are disabled (-LL or
> If we're going to the trouble of patching this bit of code, I wonder if
> it would be worthwhile to actually print the contents of the syncinfo as
> well. Maybe a hex dump.
It has just been useful to be able to observe and experiment with
syncrepl from ldapsearch so I went ahead and implemented this. The patch
is available at branch ITS8116 here:
Senior Software Engineer
Symas Corporation http://www.symas.com
Packaged, certified, and supported LDAP solutions powered by OpenLDAP