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

Re: OpenLDAP and RFC 2849 [not 2489]

On Thu, 21 Feb 2008, Michael Ströder wrote:

> > LDAPSEARCH will always include a trailing newline if there is data; is 
> > this technically correct behaviour?
> Can you please elaborate what's the issue with this is? I don't know any 
> implementation which has problems with it. BTW: python-ldap's module 
> ldif also generates an empty line at the end of each record, also the 
> last one. And off course when parsing entries this is handled as well.

I turned the guts of my "ldapdiff" utility into a Perl function to make it 
available to other scripts, and a colleague complained that when comparing 
two identical entries a blank line was returned, which I assumed was 
correct behaviour i.e. no LDIF update commands but you still get the 
trailing line.

Dave Horsfall DTM VK2KFU  Ph: +61 2 9552-5509 (direct) +61 2 9552-5500 (switch)
Corinthian Eng'ng P/L, Ste 54 Jones Bay Whf, 26-32 Pirrama Rd, Pyrmont 2009, AU