Issue 1885 - ldapsearch linewrap patch
Summary: ldapsearch linewrap patch
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: contrib (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-06-15 11:54 UTC by enno@wanadoo.nl
Modified: 2014-08-01 21:05 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description enno@wanadoo.nl 2002-06-15 11:54:00 UTC
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

Comment 1 Kurt Zeilenga 2002-06-15 22:51:11 UTC
changed notes
changed state Open to Suspended
moved from Incoming to Contrib
Comment 2 Kjagan 2002-06-17 07:44:24 UTC
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

Comment 3 enno@wanadoo.nl 2002-06-17 18:14:45 UTC

Errr, just a silly question: Is this really related to my patch ? 
Please correct me if I'm wrong but this seems like a totally different problem.

Cheers,
 Enno

__________________________________________________________
Snel en makkelijk mailen
Wanadoo webmail || http://webmail.wanadoo.nl

Comment 4 Kurt Zeilenga 2002-06-17 19:00:52 UTC
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

Comment 5 Kurt Zeilenga 2005-10-12 01:01:16 UTC
changed notes
changed state Suspended to Closed
Comment 6 OpenLDAP project 2014-08-01 21:05:13 UTC
Not updated