expanding `&' in struct passwd.pw_gecos

Luke Mewburn luke at mewburn.net
Sat Dec 11 02:30:37 GMT 2004


On Wed, Dec 01, 2004 at 03:20:20PM +1100, Luke Mewburn wrote:
  | Hi all.
  | 
  | [I've been going through a bunch of local changes --
  |  from NetBSD pkgsrc and actual "local" -- and evaluating
  |  them in order to feed them back into the mainline code.]
  | 
  | 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.
  | 
  | Samba 3 currently does _not_ have the ability to perform this
  | translation.  As a matter of "style", should such an
  | enhancement be:
  |     a)	on all the time?
  |     b)	controlled by an smb.conf(5) global?
  |     c)	controlled by a compile-time constant?
  | 
  | Once I know the "preferred" way to implement this I'll whip
  | up a patch and submit it into bugzilla.

I haven't seen a response to this yet.

Thanks,
Luke.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 186 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba-technical/attachments/20041211/ce6698ff/attachment.bin


More information about the samba-technical mailing list