#21643 [Fbk->Opn]: ldap_search same criteria no results
| From: | ryanphp at ryanjameson dot com | Date: | Sat, 18 Jan 2003 14:18:40 +0000 |
| Subject: | #21643 [Fbk->Opn]: ldap_search same criteria no results | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-30467@lists.php.net to get a copy of this message | ||
ID: 21643
User updated by: ryanphp@ryanjameson.com
Reported By: ryanphp@ryanjameson.com
-Status: Feedback
+Status: Open
Bug Type: LDAP related
Operating System: windows 2000
PHP Version: 4.3.0
New Comment:
I'm on the edit submission tab but it still says "New Comment" I hope
this is the right way to respond to this. Anyway, I will try to build a
simple sample on Monday. Thanks!
Previous Comments:
------------------------------------------------------------------------
[2003-01-17 21:03:32] sniper@php.net
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
------------------------------------------------------------------------
[2003-01-16 11:42:08] ryanphp@ryanjameson.com
"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] sniper@php.net
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] sniper@php.net
Are you absolutely sure you updated PHP correctly? All the dlls from
the dlls/ folder too?
------------------------------------------------------------------------
[2003-01-14 18:24:20] ryanphp@ryanjameson.com
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