Req #44230 [Com]: ldap_search not supported RFC
| From: | andreas at heigl dot org | Date: | Tue, 05 May 2015 19:51:36 +0000 |
| Subject: | Req #44230 [Com]: ldap_search not supported RFC | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-192498@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=44230&edit=1
ID: 44230
Comment by: andreas at heigl dot org
Reported by: apollon at hotbox dot ru
Summary: ldap_search not supported RFC
Status: Open
Type: Feature/Change Request
Package: LDAP related
Operating System: Windows
PHP Version: 5.2.5
Block user comment: N
Private report: N
New Comment:
Could we rename this issue to include UTF-8 in the name? That would make it clearer what the issue
is about!
Previous Comments:
------------------------------------------------------------------------
[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