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

Re: Line breaks with slapcat



ml ml wrote:
> i get linebreaks (after i guess 80 chars) when i use:
> lapcat -b "somebase" -l /tmp/ldap-example.ldif.tmp
> 
> This is on debian lenny. I get the same problem with stdout.

Works as designed since slapcat's output is LDAP Data Interchange Format
(LDIF) (see RFC 2849 for details).
=> Use a decent LDIF parser module for your favourite scripting language for
processing slapcat's output.

Ciao, Michael.