bugPhamm (PHP LDAP Virtual Hosting Manager) - Bugs: bug #18138, lib/ldap.php doesn't set the LDAP...

 
 

bug #18138: lib/ldap.php doesn't set the LDAP protocol version

Submitted by:  None
Submitted on:  Sat 28 Oct 2006 05:40:09 PM UTC  
 
Category: LDAPSeverity: 3 - Normal
Item Group: version 0.5.XStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: Closed

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Wed 07 Feb 2007 03:23:25 PM UTC, comment #1:

Fixed. Thanks to make phamm better!

Alessandro De Zorzi <lotabi>
Project Administrator
Sat 28 Oct 2006 05:40:09 PM UTC, original submission:

The file lib/ldap.php doesn't set the protocol version and so use version 2 as default.

this is the little patch

--- lib/ldap.php.orig 2006-10-28 19:39:17.765144000 +0200
+++ lib/ldap.php 2006-10-28 19:39:26.423464000 +0200
@@ -11,6 +11,8 @@
$connect = ldap_connect(LDAP_HOST_NAME,LDAP_PORT)
or die ($lang["error_connection"]);

+ ldap_set_option($connect,LDAP_OPT_PROTOCOL_VERSION,LDAP_PROTOCOL_VERSION);
+
return $connect;
}

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by lotabi (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Wed 07 Feb 2007 03:23:25 PM UTClotabiStatusNone=>Fixed
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1