[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: Wed, 29 Apr 2015 17:04:27 +0000
- Auto-submitted: auto-generated (OpenLDAP-ITS)
> Full_Name: Thomas Cort
> Version: HEAD
> OS: Mac OS X 10.10.3
> URL: ftp://ftp.openldap.org/incoming/thomas-cort-150428.patch
> Submission from: (NULL) (184.108.40.206)
> 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.
> I uploaded the patch to ftp.openldap.org as thomas-cort-150428.patch
> The attached patch file is derived from OpenLDAP Software. All of the
> modifications to OpenLDAP Software represented in the following patch(es) were
> developed by Thomas Cort <firstname.lastname@example.org>. I have not assigned rights
> and/or interest in this work to any party.
> I, Thas C Cort, hereby place the following modifications to OpenLDAP Software
> (and only these modifications) into the public domain. Hence, these
> modifications may be freely used and/or redistributed for any purpose with or
> without attribution and/or other notice.
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/