From: t dot hirsch at web dot de Operating system: Solaris 9 PHP version: 4.3.4 PHP Bug Type: LDAP related Bug description: case sensitivity of attributes differs in ldap_search and ldap_add/modify
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 bug report at http://bugs.php.net/?id=27605&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=27605&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=27605&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=27605&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=27605&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=27605&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=27605&r=needscript Try newer version: http://bugs.php.net/fix.php?id=27605&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=27605&r=support Expected behavior: http://bugs.php.net/fix.php?id=27605&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=27605&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=27605&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=27605&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=27605&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=27605&r=dst IIS Stability: http://bugs.php.net/fix.php?id=27605&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=27605&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=27605&r=float