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

Re: OpenLDAP and RFC 2489

Dave Horsfall wrote:
RFC 2489 (LDAP Data Interchange Format) says: "An LDIF file consists of a series of records separated by line separators."

This implies that there should not be a blank line at the end of an LDIF file (separator vs. terminator). Believe it or not, this caused a rather heated discussion...

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.

Ciao, Michael.