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

(ITS#5456) inaccurate interpretation of LDIF in back perl

Full_Name: Uwe Werler
Version: 2.3.32
OS: SLES10 SP1 Kernel
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (

The database backend "back_perl" expects LDIF entries beginning with "dn:" and
ending with an empty line. RFC2849 only describes that an entry is everything
except an empty line and a line not beginning (after a CR/LF) with a single
white space character.

After some testing with back_perl I noticed that the LDIF entries produced by
the perl module Net::LDAP::LDIF were not acceptet because they are beginning
with an empty line and ending only with a simple CR charakter.

This behavior breaks RFC2849. After changing LDIF.pm from that module to produce
the CR after the entry back_perl accepts this entries too.

IMHO this is a misbehavior so I'm very glad if You'll take a look at this

Thanks in advance.

Regards Uwe