[bugs] [Bug 1218] New - Turba test.php page doesn't use specified LDAP port

bugs at bugs.horde.org bugs at bugs.horde.org
Wed Apr 2 17:45:32 PST 2003


http://bugs.horde.org/show_bug.cgi?id=1218

*** shadow/1218	Wed Apr  2 17:45:32 2003
--- shadow/1218.tmp.16463	Wed Apr  2 17:45:32 2003
***************
*** 0 ****
--- 1,33 ----
+ Bug#: 1218
+ Product: Horde
+ Version: 2.3 Unstable
+ Platform: All Browsers
+ OS/Version: All
+ Status: NEW   
+ Resolution: 
+ Severity: normal
+ Priority: P2
+ Component: Turba
+ Area: BUILD
+ AssignedTo: chuck at horde.org                            
+ ReportedBy: stacy.morang at legislature.maine.gov               
+ URL: 
+ Summary: Turba test.php page doesn't use specified LDAP port
+ 
+ The cvs version of the turba/test.php page (and possibly older) doesn't actually
+ use the port specification of the ldap connection check. 
+ 
+ Here's a patch:
+ 
+ --- /c/Software/horde/cvs/turba/test.php	2003-02-13 08:12:02.000000000 -0500
+ +++ test.php	2003-04-02 16:35:32.000000000 -0500
+ @@ -170,7 +170,8 @@
+      } else {
+          echo 'bind anonymously<br />';
+      }
+ -    $ldap = ldap_connect($server);
+ +    $ldap = ldap_connect($server, $port);
+ +    
+      if ($ldap) {
+          if (!empty($user) && !ldap_bind($ldap, $user, $passwd)) {
+              echo "<p>unable to bind as $user to LDAP server</p>\n";


More information about the bugs mailing list