[Date Prev][Date Next] [Chronological] [Thread] [Top]

Mapping user names from multiple attributes

Hi folks,

My site has user accounts defined in Kerberos and LDAP. User IDs, group IDs, given names and surnames are stored in LDAP using the person schema object E.g. for uid=jwinius, these are:

   cn: Jaap
   sn: Winius

However, I recently noticed that if I send email from a random host, the name included with the source email address is just "Jaap" when I would like it to be "Jaap Winius". I suspect libnss_ldap is responsible.

Is there an easy way to change how these names are mapped, so that user names would be composed of cn + space + sn?