Re: LdapSearch Field Length

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Fedora Directory Users]     [Fedora Directory Devel]     [Fedora Announce]     [Fedora Legacy Announce]     [Kernel]     [Fedora Legacy]     [Share Photos]     [Fedora Desktop]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Big List of Linux Books]     [Gimp]     [Yosemite News]

  Powered by Linux