[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
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:
>Hi,
>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" );
>
>Kindly advice.
>
>regards,
>K.Jagan
>
>-----Original Message-----
>From: enno@wanadoo.nl [mailto:enno@wanadoo.nl]
>Sent: Saturday, June 15, 2002 5:24 PM
>To: openldap-its@OpenLDAP.org
>Subject: ldapsearch linewrap patch (ITS#1885)
>
>
>Full_Name: Enno Hoen
>Version: 2.1.2
>OS: Debian Linux (Woody)
>URL: ftp://ftp.openldap.org/incoming/
>Submission from: (NULL) (24.132.82.231)
>
>
>Hi,
>
>I've upped a patchfile named enno-hoen-020615.patch in
>ftp.openldap.org/incoming
>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 ")
>during output.
>
>This patch breaks some RFC's slightly I guess.
>
>Regards,
> Enno Hoen