From:             apollon at hotbox dot ru
Operating system: Windows
PHP version:      5.2.5
PHP Bug Type:     Feature/Change Request
Bug description:  ldap_search not supported RFC

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 bug report at http://bugs.php.net/?id=44230&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=44230&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=44230&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=44230&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=44230&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=44230&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=44230&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=44230&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=44230&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=44230&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=44230&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=44230&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=44230&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=44230&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=44230&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=44230&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=44230&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=44230&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=44230&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=44230&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=44230&r=mysqlcfg

Reply via email to