[Date Prev][Date Next]
Re: (ITS#6194) Patch - Enhancement - provide LDIF support as libldif
Howard Chu wrote:
> firstname.lastname@example.org wrote:
>> Full_Name: Rich Megginson
>> Version: CVS HEAD (2.4.16+)
>> OS: Fedora
>> Submission from: (NULL) (126.96.36.199)
>> This patch allows liblutil to provide the LDIF reading and writing
>> functions as
>> public APIs in a libldif, and exposes ldif.h to the public API.
> See also ITS#4033; ldif.h only parses LDIF into chunks/records, it's
> still up to the caller to turn these records into something
> meaningful. In fact libldif used to be a library of its own, but in
> RE22 we made the decision to merge it into liblutil because its
> functionality is so limited. I don't expect we'll reverse this
> decision unless/until it gets enough parsing added to it to make it
> more generally useful.
I think it's very useful as it is - the mozldap libldif (which is almost
identical in functionality to my proposed openldap libldif) is used in
several different applications in the 389 directory server suite. What
more does it need? Some sort of higher level "entry" and "attribute"
>> This patch file is derived from OpenLDAP Software. All of the
>> modifications to OpenLDAP Software represented in the following
>> patch(es) were developed by Red Hat, Inc.. Red Hat, Inc. has not
>> assigned rights and/or interest in this work to any party. I, Richard
>> Megginson am authorized by Red Hat, Inc., my employer, to release this
>> work under the following terms.
>> Red Hat, Inc. 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.