ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-Dev
php-Dev
#27605 [Opn->Bgs]: case sensitivity of attributes differs in ldap_search and ldap_add/modify
by other posts by this author
Mar 15 2004 2:48PM messages near this date
#27605 [Bgs->Opn]: case sensitivity of attributes differs in ldap_search and ldap_add/modify | #27548 [Fbk->NoF]: Php crashes when i want to store more then 1 var in $this->menu
ID:               27605
 Updated by:       sniper@[...].net
 Reported By:      t dot hirsch at web dot de
-Status:           Open
+Status:           Bogus
 Bug Type:         LDAP related
 Operating System: Solaris 9
 PHP Version:      4.3.4
 New Comment:

PHP has no control over this, it's the underlying ldap library that
handles this all. (openldap or whatever you compiled PHP with)



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

[2004-03-15 09:42:51] t dot hirsch at web dot de

Description:
------------
In my ldap tree are some attributes with upper case letters.
ldap_search finds them only when writing them in lower case. But
ldap_add and ldap_modify need the attributes in the right case or they
report an error.

Reproduce code:
---------------
// $info=ldap_get_entries...
// $i is the counter of the entry
// $j is the counter of the attribute
// in this case: attribute[$j]="lowerUpper";
// lowerUpper is a single-value attribute
$works=$info[$i][strtolower($attribute[$j])][0];
$fails=$info[$i][$attribute[$j]][0];

Expected result:
----------------
$fails should work, 
$work should fail if case sensitivity is on, or should still work

Actual result:
--------------
$works="thecontent"
$fails=""


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


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

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved