On 28/9/04 9:19 am, Marc Chantreux <[EMAIL PROTECTED]>
wrote:

> Hi all,
> 
> while writing ldif files, perl-ldap don't use the '-' line to separate
> the changetype: modify operations.
> 
> this separator is optionnal in the ldap RFC but required by the ms
> ldifde commmand. Is there a way to ask perl-ldap to write it ?
> 
> regards,

The separator is not optional according to RFC 2849:

----
change-modify            = "modify"             SEP *mod-spec

mod-spec                 = ("add:" / "delete:" / "replace:")
                           FILL AttributeDescription SEP
                           *attrval-spec
                           "-" SEP
----

Which version of LDIF.pm are you using? 0.15_01 looks like it prints "-\n"
in between all the changes. (But I think it should print "-\n" after the
last change too!)

Cheers,

Chris


Reply via email to