[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Possible account information APIs? (lookupd etc)



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.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]