Bug 438551 - Samba Fails to Split GECOS on Comma
Samba Fails to Split GECOS on Comma
Product: Red Hat Enterprise Linux 3
Classification: Red Hat
Component: samba (Show other bugs)
All Linux
low Severity medium
: ---
: ---
Assigned To: Simo Sorce
Depends On:
  Show dependency treegraph
Reported: 2008-03-21 16:14 EDT by Lou Goddard
Modified: 2012-06-20 09:32 EDT (History)
2 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2012-06-20 09:32:54 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

External Trackers
Tracker ID Priority Status Summary Last Updated
Samba Project 5198 None None None Never

  None (edit)
Description Lou Goddard 2008-03-21 16:14:02 EDT
Description of problem:

Samba does not split the GECOS field when reporting
the users's legal name to Windows.  For example, my
name appears as "Lou H. Goddard, New Castle, 302-454-0017"
within Windows.  The entire GECOS field appears in all parts
of the Windows OS where you would expect just the name.
For example, adding a user to the permission list of a file...
or on the screen-lock-ctrl-alt-del box.

Version-Release number of selected component (if applicable):

How reproducible:

Steps to Reproduce:
Add some extra fields to a user's GECOS.  Log in to a Windows
computer using the Samba PDC.  Hit ctrl-alt-del and view the
entire GECOS field.
Actual results:
Entire GECOS field is displayed

Expected results:
GECOS should be truncated at the first comma.
I should see "Lou H. Goddard"

Additional info:
This causes other Windows friendly apps to barf if they do not perform input
validation before parsing.  They expect a simple legal name, but instead receive
an entire GECOS field.

See also: https://bugzilla.samba.org/show_bug.cgi?id=5198
Comment 1 Jiri Pallich 2012-06-20 09:32:54 EDT
Thank you for submitting this issue for consideration in Red Hat Enterprise Linux. The release for which you requested us to review is now End of Life. 
Please See https://access.redhat.com/support/policy/updates/errata/

If you would like Red Hat to re-consider your feature request for an active release, please re-open the request via appropriate support channels and provide additional supporting details about the importance of this issue.

Note You need to log in before you can comment on or make changes to this bug.