ID:               21337
 User updated by:  [EMAIL PROTECTED]
 Reported By:      [EMAIL PROTECTED]
-Status:           Feedback
+Status:           Open
 Bug Type:         LDAP related
 Operating System: Windows XP
 PHP Version:      4.3.0
 New Comment:

script used:

$ds = ldap_connect("mailservername") 

if ($ds) 
 
   { 
   $ldapbind = ldap_bind($ds, $ldaprdn, $ldappass);
   $sr=ldap_search($ds,"o=my org, c=NL", "cn=*");
   ldap_sort($ds,$sr,"cn");
   $info = ldap_get_entries($ds,$sr);
   //what follows is retrieval of entries
   } 

script works ok if i leave ldap_sort out

it also crashes when i replace
ldap_sort($ds,$sr,"cn");
with
$sr = ldap_sort($ds,$sr,"cn");
or replacing cn with givenname.

I used the precompiled version of php 4.3 from php.net


Previous Comments:
------------------------------------------------------------------------

[2003-01-02 14:06:44] [EMAIL PROTECTED]

Not enough information was provided for us to be able
to handle this bug. Please re-read the instructions at
http://bugs.php.net/how-to-report.php

If you can provide more information, feel free to add it
to this bug and change the status back to "Open".

Thank you for your interest in PHP.


Could you please provide the smallest possible test script that could
be replicate the problem.

------------------------------------------------------------------------

[2003-01-02 08:31:55] [EMAIL PROTECTED]

Im using apache 2.0.43 as my webserver.
My ldap server is MS Exchange 5.5.

on ldap_sort my PHP Script Interpreter crashes and gives out this
signature:
szAppName : php.exe     szAppVer : 4.3.0.0     szModName : php4ts.dll  
  
szModVer : 4.3.0.0     offset : 000ad517



   

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=21337&edit=1

Reply via email to