Ticket #1485892 (closed Feature Requests: fixed)
gn and givenName should be synonymous in LDAP addressbook
| Reported by: | duelli | Owned by: | |
|---|---|---|---|
| Priority: | 5 | Milestone: | 0.3.1 |
| Component: | LDAP connection | Version: | svn-trunk |
| Severity: | normal | Keywords: | |
| Cc: |
Description
We are using OpenLDAP on a Debian Etch server as an addressbook for Roundcube.
We only define the field givenName for the firstname of the contacts in the addressbook.
When using
$rcmail['ldap_public']['firstname_field'] = 'gn';
the firstname of a user cannot be retrieved.
For example, ldapsearch yield the same results for the following two calls, regardless of whether gn or givenName is set.
ldapsearch -x -ZZZ gn=Michael gn ldapsearch -x -ZZZ givenName=Michael givenName
Roundcube should behave in the same way.
Of course, the current workaround is to use
$rcmail['ldap_public']['firstname_field'] = 'givenName';
but Roundcube does not seem to know that these two attributes are the same.
Change History
Note: See
TracTickets for help on using
tickets.
