On Sat, 25 Feb 2012 00:19:11 GMT, hyc@symas.com wrote:
h.b.furuseth@usit.uio.no wrote:
The client option --ldif-wrap=N outputs lines of N+2 columns. E.g. 'ldapsearch -o ldif-wrap=20 ...' gives 22-column output.
Not a bug. See libldap/ldif.c:490.
That's old an internal matter, exposed as default wrap width 78 instead of rfc2849's max 76.
This ITS is about the new --ldif-wrap option. The tools can just subtract 2 from the input value and otherwise keep the current code.
(I do think we should throw away the old bug-compat code and fix the default 78 to 76, but not in RE24. And I note the bug- compat comment claims it's off by 1 while it's actually 2:)