[Tickets #2529] RESOLVED: Problems with "cn", "name" and ldap (patch)

bugs@bugs.horde.org bugs at bugs.horde.org
Sat Sep 3 03:27:12 PDT 2005


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

Ticket URL: http://bugs.horde.org/ticket/?id=2529
-----------------------------------------------------------------------
 Ticket             | 2529
 Updated By         | horde at olen.net
 Summary            | Problems with "cn", "name" and ldap (patch)
 Queue              | Turba
 Version            | FRAMEWORK_3
 State              | Rejected
 Priority           | 1. Low
 Type               | Enhancement
 Owners             | 
-----------------------------------------------------------------------


horde at olen.net (2005-09-03 03:27) wrote:

What if we/you/I extended the 'map' array?

>From this, today:
$map = array(
        'name' => array('fields' => array('firstname', 'lastname'),
                        'format' => '%s %s'),
        'firstname' => 'givenname',
        'lastname' => 'sn',
);

to something like:

$map = array(
        'name' => array('fields' => array('firstname', 'lastname'),
                        'format' => '%s %s',
                        'tofield' => 'cn'),
        'firstname' => 'givenname',
        'lastname' => 'sn',
);

That way one can use the "tofield" (or whatever we may call it) to map the
data to the right field.  If this is a more valid solution, I can probably
work out a patch.




More information about the bugs mailing list