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
-------------------------------------------------




[Index of Archives]     [Fedora User Discussion]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora News]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora QA]     [Fedora Triage]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Yosemite Photos]     [Linux Apps]     [Maemo Users]     [Gnome Users]     [KDE Users]     [Fedora Tools]     [Fedora Art]     [Fedora Docs]     [Maemo Users]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Fedora ARM]

  Powered by Linux