[Tickets #3655] NEW: not deleting LDAP attributes

bugs@bugs.horde.org bugs at bugs.horde.org
Sat Mar 18 11:01:51 PST 2006


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=3655
-----------------------------------------------------------------------
 Ticket             | 3655
 Created By         | xk3 at mompl.org
 Summary            | not deleting LDAP attributes
 Queue              | Turba
 Version            | 2.0.4
 State              | Unconfirmed
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


xk3 at mompl.org (2006-03-18 11:01) wrote:

I configured turba H3 2.0.4 to run with LDAP as source and had some
some trouble with not deleted attributes. Some of the names of the
attributes in the array $attributes were mixed case (even in
sources.php.dist some of them in the map section are mixed case),
although they are explicitly expected to be lower case for the
decision to call ldap_mod_del.


./turba/config/sources.php.dist
-------------------------------
$cfgSources['personal_ldap'] = array( 
[..]
    'map' => array(
[..]
        'nickname' => 'displayName', 
        'website' => 'labeledURI',


./turba/lib/Driver/ldap.php
---------------------------
 /* The attributes in the attributes array are all lower case          
  * while they are mixedCase in the search result. So convert        
  * the keys to lower. */         
$info = array_change_key_case($info, CASE_LOWER);
[..]
           if (isset($attributes[$key]) &&  <-- but notset


Although I have not tested it, the cvs code looks like to have the
same problem.




More information about the bugs mailing list