Richard Megginson wrote:
If you're using perl, I suggest using either perldap or Net::LDAP - they
both have LDIF parsers that handle this nicely. If you're using python,
I think python-ldap also handles this. If you're using sh, see below.
Many thanks to all who replied on this. A quick modification using the
Net::LDAP fixed all.
I will also get ahold of the 2849 rfc for future reference.
Interesting also is that db2ldif produces the same behavior.
Ideas on what I could do to get the value retruned back on one line?
I'm not sure if /usr/bin/ldapsearch supports this, but
I checked the /usr/bin/ldapsearch and it does not support the -T.
Interestingly it doesn't fail on bad switch / parameter but it yields kinda
unpredictable behavior. Kinda like getopts in perl with an unexpected parameter.
Thanks again.
/opt/fedora-ds/shared/bin/ldapsearch has the -T option:
-T don't fold (wrap) long lines (default is to fold)
--
Jim Summers
School of Computer Science-University of Oklahoma
-------------------------------------------------
--
Fedora-directory-users mailing list
Fedora-directory-users@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-directory-users