--On Tuesday, May 07, 2013 7:00 AM -0700 Doug Wegscheid <dwegsch...@sbcglobal.net> wrote:


I have a use case for analyzing LDIF dumps of our LDAP directory. The
dump utility puts some controls in the output file, so Net::LDAP::LDIF
won't read them, it fails with "Controls only allowed with LDIF change
entries".

I put a patch on to allow reading of controls for non-change entries by
specifying controls_always_legal => 1 on the Net::LDAP::LDIF->new() call.

Sounds to me like your dump utility is creating LDIF that violates <http://tools.ietf.org/html/rfc2849>

--Quanah



--

Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration

Reply via email to