php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #44230 ldap_search does not support RFC 2253 (UTF-8 names)
Submitted: 2008-02-23 23:16 UTC Modified: 2017-01-09 07:00 UTC
Votes:1
Avg. Score:3.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:0 (0.0%)
Same OS:1 (100.0%)
From: apollon at hotbox dot ru Assigned:
Status: Wont fix Package: LDAP related
PHP Version: 5.2.5 OS: Windows
Private report: No CVE-ID: None
 [2008-02-23 23:16 UTC] 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

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2008-02-23 23:18 UTC] apollon at hotbox dot ru
ldap_list make warning and no resule like ldap_search
 [2011-04-08 21:05 UTC] jani@php.net
-Package: Feature/Change Request +Package: LDAP related
 [2015-05-05 19:51 UTC] 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!
 [2015-05-05 20:00 UTC] requinix@php.net
-Summary: ldap_search not supported RFC +Summary: ldap_search does not support RFC 2253 (UTF-8 names)
 [2017-01-09 07:00 UTC] heiglandreas@php.net
-Status: Open +Status: Wont fix
 [2017-01-09 07:00 UTC] heiglandreas@php.net
This issue has been open for more than 8 years and targets a by now unsupported version of PHP. Therefore I'm closing it.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 16:01:28 2024 UTC