Possible account information APIs? (lookupd etc)

Simo Sorce ssorce at redhat.com
Sat Sep 22 18:59:46 UTC 2007


On Sat, 2007-09-22 at 19:09 +0200, Alexander Boström wrote:
> 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.

Unfortunately the homeDirectory attribute too is IA5String, I wonder if
servers really enforce this today.

Simo.




More information about the fedora-devel-list mailing list