Possible account information APIs? (lookupd etc)

Alexander Boström abo at kth.se
Sat Sep 22 17:09:27 UTC 2007

On Thu, 2007-09-13 at 20:07 -0400, Matthew Miller wrote:
> Why not just get the gecos name field right?

One problem with the GECOS field is that if the information comes from
LDAP, it will be ASCII only. (The cn field in LDAP is a UTF-8 string,
but nss_ldap doesn't care about it.) In /etc/passwd you can put
arbitrary bytes so UTF-8 works there, but not with LDAP.

Hmm... Maybe I can configure nss_ldap to actually use cn instead...


More information about the fedora-devel-list mailing list