#21337 [Fbk->NoF]: php crashes on ldap_sort

From: Date: Fri, 04 Jul 2003 07:07:35 +0000
Subject: #21337 [Fbk->NoF]: php crashes on ldap_sort
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-43241@lists.php.net to get a copy of this message
ID: 21337 Updated by: sniper@php.net Reported By: r dot hozee at maas-delta dot nl -Status: Feedback +Status: No Feedback Bug Type: LDAP related Operating System: Windows XP PHP Version: 4.3.0 New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Open". Thank you. Previous Comments: ------------------------------------------------------------------------ [2003-06-29 21:40:11] iliaa@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip ------------------------------------------------------------------------ [2003-01-17 02:04:28] r dot hozee at maas-delta dot nl PHP crashed running from command line, using both CLI and CGI. ------------------------------------------------------------------------ [2003-01-15 15:59:51] sniper@php.net Does the same happen within command line, using PHP CLI ? ------------------------------------------------------------------------ [2003-01-03 01:52:57] r dot hozee at maas-delta dot nl 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 ------------------------------------------------------------------------ [2003-01-02 14:06:44] iliaa@php.net 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. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/21337 -- Edit this bug report at http://bugs.php.net/?id=21337&edit=1

« previous php.bugs (#43241) next »