[Tickets #3465] NEW: LDAP contact adding

bugs@bugs.horde.org bugs at bugs.horde.org
Mon Feb 13 05:47:52 PST 2006


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

Ticket URL: http://bugs.horde.org/ticket/?id=3465
-----------------------------------------------------------------------
 Ticket             | 3465
 Created By         | tarmo.randel at mail.ee
 Summary            | LDAP contact adding
 Queue              | Turba
 Version            | 2.0.5
 State              | Unconfirmed
 Priority           | 2. Medium
 Type               | Bug
 Owners             | 
-----------------------------------------------------------------------


tarmo.randel at mail.ee (2006-02-13 05:47) wrote:

objectClass person requires sn (at least in openldap), this hack fixes it in
ldap.php (line: 259):

/* objectClass: person requires sn */
        if (isset($attributes['cn'])) {
                $t = split(' ', $attributes['cn']);
                if (count($t) > 0)
                        $attributes['sn'] = $t[0];
}





More information about the bugs mailing list