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

Re: (ITS#6194) Patch - Enhancement - provide LDIF support as libldif

The ldif code does not currently have knowledge of any of the higher 
level LDAP data types such as LDAPMod or LDAPControl - some of the 
proposals would have the ldif API return these objects - Do we really 
want to introduce this higher level knowledge into the relatively low 
level libldif, along with the dependency on libldap?  I think in order 
to do this properly, we would have to introduce a new LDAP API e.g. 
ldap_mods_from_ldif(const char *ldifstr, LDAPMod***, LDAPControl***) or 
something like that - something that would parse the given ldif record 
into those higher level data types.