[Date Prev][Date Next]
RE: ldapsearch linewrap patch (ITS#1885)
Your post is completely unrelated to the referenced ITS report.
If you have software use questions, please take them to the
OpenLDAP software list. Thanks, Kurt
At 12:43 AM 2002-06-17, Kjagan@infosys.com wrote:
>I am new to ldap.
>I get the following error while trying to the sort the entries from LDAP serevr.
>""CLdap.cpp", line 198: Error: Formal argument cmp of type extern "C" int(*)() in call to ldap_sort_entries(ldap*, ldapmsg**, char*, extern "C" int(*)()) is being passed extern "C" int(*)(const char*,const char*).
>if ( ldap_sort_entries( m_LdapId, &result, (char*)m_szAttribute.c_str(),ldap_sort_strcasecmp ) != 0 )
> ldap_perror( m_LdapId, "ldap_search_ext_s" );
>From: firstname.lastname@example.org [mailto:email@example.com]
>Sent: Saturday, June 15, 2002 5:24 PM
>Subject: ldapsearch linewrap patch (ITS#1885)
>Full_Name: Enno Hoen
>OS: Debian Linux (Woody)
>Submission from: (NULL) (18.104.22.168)
>I've upped a patchfile named enno-hoen-020615.patch in
>It's a patch against clients/tools/ldapsearch.c and libraries/libldif/line64.c
>for version 2.1.2, but 2.0.2x should also work.
>What it does:
>It adds a -N option to ldapsearch which eliminates the forced linewrap ("\n ")
>This patch breaks some RFC's slightly I guess.
> Enno Hoen