Some corrections on ldap_next_attribute and ldap_get_values parameters.

RESOLVED FIXED

Status

Developer Documentation
Protocols
RESOLVED FIXED
15 years ago
3 years ago

People

(Reporter: Fabian Vilers, Assigned: sheppy)

Tracking

Details

(Whiteboard: [beppe:10/11/01] u=mozdev p=0 c=Platform, URL)

(Reporter)

Description

15 years ago
Some corrections on ldap_next_attribute and ldap_get_values parameters. Note 
that I have *not* made this changes to all functions calls. Editing this page 
is really difficult due to too much html tags.

Index: mozilla-org/html/directory/csdk-docs/search.htm
===================================================================
RCS file: /cvsroot/mozilla-org/html/directory/csdk-docs/search.htm,v
retrieving revision 1.1
diff -u -r1.1 search.htm
--- mozilla-org/html/directory/csdk-docs/search.htm	21 Aug 2003 21:19:54 -
0000	1.1
+++ mozilla-org/html/directory/csdk-docs/search.htm	5 Nov 2003 10:01:29 -
0000
@@ -5830,7 +5830,9 @@
   <TR>
     <TD VALIGN=TOP><A NAME="1000450"> </A>
 <FONT FACE="courier, couriernew, monospaced size" SIZE="-1">
-<zscreentext>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for ( a = ldap_first_attribute
( ld, res, &amp;ber );
+<zscreentext>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for ( a = ldap_first_attribute
( ld, res, &amp;ber ); /* Doesn't work correctly, it will not print the 
attributes of each entry but will always print attributes of the Base DN given 
in ldap_search function */
+</zscreentext>
+<zscreentext>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;for ( a = ldap_first_attribute
( ld, msg, &amp;ber ); /* Better -- Fabian Vilers (fabian@vilers.net) */
 </zscreentext>
 </FONT>
 <BR></TD>
@@ -5838,7 +5840,9 @@
   <TR>
     <TD VALIGN=TOP><A NAME="1000452"> </A>
 <FONT FACE="courier, couriernew, monospaced size" SIZE="-1">
-<zscreentext>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a != NULL; a = 
ldap_next_attribute( ld, res, ber ) ) {
+<zscreentext>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a != NULL; a = 
ldap_next_attribute( ld, res, ber ) ) /* same problem */ {
+</zscreentext>
+<zscreentext>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;a != NULL; a = 
ldap_next_attribute( ld, msg, ber ) ) /* -- Fabian Vilers (fabian@vilers.net) 
*/ {
 </zscreentext>
 </FONT>
 <BR></TD>
@@ -5854,7 +5858,9 @@
   <TR>
     <TD VALIGN=TOP><A NAME="1000456"> </A>
 <FONT FACE="courier, couriernew, monospaced size" SIZE="-1">
-<zscreentext>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (( vals = 
ldap_get_values( ld, res, a )) != NULL ) {
+<zscreentext>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (( vals = 
ldap_get_values( ld, res, a )) != NULL ) /* same problem */ {
+</zscreentext>
+<zscreentext>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;if (( vals = 
ldap_get_values( ld, msg, a )) != NULL ) /* -- Fabian Vilers 
(fabian@vilers.net) */ {
 </zscreentext>
 </FONT>
 <BR></TD>

Comment 1

15 years ago
doc owner is mcs@netscape.com
anyone knows who this person is?
Status: UNCONFIRMED → NEW
Ever confirmed: true

Updated

14 years ago
QA Contact: imajes → stolenclover
reassigning endico's bugs to default owner
Assignee: endico → mozilla.webmaster
Assignee: www-mozilla-org → nobody
QA Contact: danielwang → www-mozilla-org
Product: mozilla.org → Websites

Comment 3

10 years ago
The www.mozilla.org site should no longer host documentation.  If there is still a need for this it should be added to MDC.  Moving to Mozilla Developer Center product for discussion.
Component: www.mozilla.org → Documentation Requests
Product: Websites → Mozilla Developer Center
QA Contact: www-mozilla-org → doc-request
Version: other → unspecified
Component: Documentation Requests → Documentation
Product: Mozilla Developer Network → Mozilla Developer Network
Automatically closing all bugs that have not been updated in a while. Please reopen if this is still important to you and has not yet been corrected.
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → INVALID
Reopening for review by Sheppy.
Assignee: nobody → eshepherd
Status: RESOLVED → REOPENED
Resolution: INVALID → ---
Component: Documentation → General
Product: Mozilla Developer Network → Developer Documentation
(Assignee)

Updated

5 years ago
Whiteboard: [beppe:10/11/01] u=mozdev p=0
(Assignee)

Updated

5 years ago
Component: General → Protocols
Whiteboard: [beppe:10/11/01] u=mozdev p=0 → [beppe:10/11/01] u=mozdev p=0 c=Platform
Archived - no longer relevant.
Status: REOPENED → RESOLVED
Last Resolved: 5 years ago3 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.