Req #44230 [Opn->Wfx]: ldap_search does not support RFC 2253 (UTF-8 names)
Edit report at https://bugs.php.net/bug.php?id=44230&edit=1
ID: 44230
Updated by: heiglandreas@php.net
Reported by: apollon at hotbox dot ru
Summary: ldap_search does not support RFC 2253 (UTF-8 names)
-Status: Open
+Status: Wont fix
Type: Feature/Change Request
Package: LDAP related
Operating System: Windows
PHP Version: 5.2.5
Block user comment: N
Private report: N
New Comment:
This issue has been open for more than 8 years and targets a by now unsupported version of PHP.
Therefore I'm closing it.
Previous Comments:
------------------------------------------------------------------------
[2015-05-05 19:51:35] andreas at heigl dot org
Could we rename this issue to include UTF-8 in the name? That would make it clearer what the issue
is about!
------------------------------------------------------------------------
[2008-02-23 23:18:25] apollon at hotbox dot ru
ldap_list make warning and no resule like ldap_search
------------------------------------------------------------------------
[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 https://bugs.php.net/bug.php?id=44230&edit=1
Thread (4 messages)