ID:               44230
 User updated by:  apollon at hotbox dot ru
 Reported By:      apollon at hotbox dot ru
 Status:           Open
 Bug Type:         Feature/Change Request
 Operating System: Windows
 PHP Version:      5.2.5
 New Comment:

ldap_list make warning and no resule like ldap_search


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

[2008-02-23 23:16:46] apollon at hotbox dot ru

Description:
------------
Windows Server 2003
OU has name with RUSSIAN letters
LDIFDE and CSVDE work with this OU, JExplorer work with this OU.
PHP 5.2.5
ldap_list and ldap_search generate next:
Warning: ldap_search(): Search: No such object in ....

RFC 2253 - Lightweight Directory Access Protocol (v3): UTF-8 String
Representation of Distinguished Names

ldap_list and ldap_search not support this RFC !!!

Reproduce code:
---------------
// $dc - valid connection to domain controller
$ou = "ou=\04\21\04\23, dc=mydomain, dc=ru";
// if $ou = "cn=\04\21\04\23, dc=mydomain, dc=ru"; - not work also
$res = ldap_list($dc,$ou,"(objectClass=User)");

Expected result:
----------------
list of object
like this:
// $dc - vaild connection to domain controller
$ou = "cn=users, dc=mudomain, dc=ru";
$res = ldap_list($dc,$ou,"(objectClass=User)");

Actual result:
--------------
Warning: ldap_search(): Search: No such object in mymodue.php line 3


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


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

Reply via email to