ID: 21643 Updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Feedback Bug Type: LDAP related Operating System: windows 2000 PHP Version: 4.3.0 New Comment:
Please don't reply to your own report using 'Add Comment', use 'Edit Submission' link instead!!! And yes, it might be possible that your search string is not valid, please ask on some openldap mailing list. And I didn't ask for you to make your own ldap server public, but come up with script accessing one of these servers: http://www.emailman.com/ldap/public.html Previous Comments: ------------------------------------------------------------------------ [2003-01-16 11:42:08] [EMAIL PROTECTED] "Are you absolutely sure you updated PHP correctly? All the dlls from the dlls/ folder too?" - I am positive. I copied the dlls folder to system32 just to check. Same result. 4.3 is completely functional except I have to use the php_ldap.dll file from 4.2.3. "And could you come up with a short example script using some public ldap server so that I can try it myself within Linux?" - I really can't. The only reason I can't is that our network would go haywire if I set up a temporary Active Directory server. Is it possible that the changes made cause the search function to look at the criteria differently? Maybe my search string is no longer valid? ------------------------------------------------------------------------ [2003-01-15 16:09:24] [EMAIL PROTECTED] And could you come up with a short example script using some public ldap server so that I can try it myself within Linux? ------------------------------------------------------------------------ [2003-01-15 16:00:35] [EMAIL PROTECTED] Are you absolutely sure you updated PHP correctly? All the dlls from the dlls/ folder too? ------------------------------------------------------------------------ [2003-01-14 18:24:20] [EMAIL PROTECTED] Below is a sample of the problem. First is a string of the function call and then the result. Results are not coming back for the extension that came with 4.3.0. ///////// USING EXTENSION FROM 4.2.3 THE QUERY WAS: ldap_search(samecon,'cn=users, dc=IBS, dc=org','name=Susan Lincoln'); the result was :[1] THE QUERY WAS: ldap_search(samecon,'cn=users, dc=IBS, dc=org','name=Bob Johnson'); the result was :[1] THE QUERY WAS: ldap_search(samecon,'cn=users, dc=IBS, dc=org','name=Stephen Hyde'); the result was :[1] THE QUERY WAS: ldap_search(samecon,'cn=users, dc=IBS, dc=org','name=Cory Hymn'); the result was :[1] THE QUERY WAS: ldap_search(samecon,'cn=users, dc=IBS, dc=org','name=Stan Kanner'); the result was :[1] ///////// USING EXTENSION FROM 4.3.0 THE QUERY WAS: ldap_search(samecon,'cn=users, dc=IBS, dc=org','name=Susan Lincoln'); the result was :[] THE QUERY WAS: ldap_search(samecon,'cn=users, dc=IBS, dc=org','name=Bob Johnson'); the result was : [] THE QUERY WAS: ldap_search(samecon,'cn=users, dc=IBS, dc=org','name=Stephen Hyde'); the result was :[] THE QUERY WAS: ldap_search(samecon,'cn=users, dc=IBS, dc=org','name=Cory Hymn'); the result was :[] THE QUERY WAS: ldap_search(samecon,'cn=users, dc=IBS, dc=org','name=Stan Kanner'); the result was :[] ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=21643&edit=1