[Fedora-directory-users] LdapSearch Field Length
Mike Jackson
mj at sci.fi
Thu Mar 9 17:58:17 UTC 2006
Jim Summers wrote:
> Hello All,
>
> I was modifying the value of an attribute, automountInformation in this
> instance. The modify works as expected, but when I use ldapsearch to
> dump the entry containing the new value it seems to truncate it at 78
> characters, that is (attribute name + attribute value). The remainder
> of the value is on the next line, which has caused some scripts to not
> work as expected.
Line wrapping is defined in the LDIF RFC (2849); this is not a bug, it's
a feature. You can get around it when writing a script with e.g.
perl-ldap (Net::LDAP).
BR,
Mike
--
http://www.netauth.com - LDAP Directory Consulting
More information about the Fedora-directory-users
mailing list