On Feb 19, 2011, at 7:05 AM, Jaap Winius jwinius@umrk.nl wrote:
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?
Generally, cn is supposed to be the full name when it comes to people. "givenName" or "gn" is the first name. Fix your data.
--Quanah