Removal of GECOS field in LDAP, Mango



>From http://bugzilla.gnome.org/show_bug.cgi?id=432270:

"You cannot create accounts with non-ASCII chars. However, you can
create the account with the non-ASCII chars removed and then update the
name.

I think this is because the gecos field can only contain ASCII chars.
This field is not updated afterwards.

If I am right, the fix is either ensuring gecos is ASCII -- or allowing
UTF8 in gecos."


Fix is (quoting again):
"gecos doesn't seem to be required..

tools that look at gecos (getent passwd $USER) seem to fall back on cn
anyway.

removed the existing gecos fields in the database and changed mango not
to add it anymore.

Note: lots of users didn't have gecos anyway."

-- 
Regards,
Olav
--- Begin Message ---
Author: ovitters
Date: 2007-09-19 22:38:07 +0100 (Wed, 19 Sep 2007)
New Revision: 80
ViewCVS link: http://svn.gnome.org/viewcvs/mango?rev=80&view=rev

Modified:
   trunk/ChangeLog
   trunk/lib/user.php
Log:
	* lib/user.php: Don't add a gecos field. It doesn't accept UTF-8, we
	never update it, and the tools that look at gecos (getent passwd
	$USER) seem to fall back on cn anyway. Fixes bug #432270.



_______________________________________________
gnome-sysadmin mailing list
gnome-sysadmin gnome org
http://mail.gnome.org/mailman/listinfo/gnome-sysadmin

--- End Message ---


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