|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-01-02 08:31 UTC] r dot hozee at maas-delta dot nl
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 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 19:00:01 2025 UTC |
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