expanding `&' in struct passwd.pw_gecos
Gerald (Jerry) Carter
jerry at samba.org
Tue Jan 4 18:05:40 GMT 2005
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Tim Potter wrote:
| On Tue, 2004-12-14 at 10:20 +1100, Luke Mewburn wrote:
|
|>On Wed, Dec 01, 2004 at 03:20:20PM +1100, Luke Mewburn wrote:
|> | Various systems (SunOS 4, Solaris, NetBSD, FreeBSD, ...)
|> | support the replacment of occurrences `&' in the pw_gecos
|> | field with the pw_name field. (See passwd(4) / passwd(5)).
|> |
|> | Unfortunately this wasn't done inside the getpwent(3) API,
|> | relying upon the end-applications to do this conversion.
|
|
|>I submitted bug #2154 with an attached patch.
|>It implements a new 'passwd expand gecos = <boolean>' global.
|
|
| I'm planning to apply this patch soon, unless anyone
| has any objections. The default for the new parameter is
| false (i.e no expansion is done).
Just curious. Is anyone besides Luke asking for this ?
I've never heard of such behavior in several years.
If only one or two people want it, I would rather leave
it out. Or as a local patch.
cheers, jerry
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFB2trzIR7qMdg1EfYRAtJXAKCMcMmaw5FHsSFoTtMpdFMcZth7IgCfY+e1
rzTtBYysg+2Q/hXgjuvggQI=
=ngpm
-----END PGP SIGNATURE-----
More information about the samba-technical
mailing list