Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 649708

Summary: samba: charset issues on the filenames
Product: Red Hat Enterprise Linux 5 Reporter: Pierre Carrier <prc>
Component: samba3xAssignee: Guenther Deschner <gdeschner>
Status: CLOSED ERRATA QA Contact: qe-baseos-daemons
Severity: high Docs Contact:
Priority: high    
Version: 5.6CC: azelinka, dpal, gdeschner
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: samba3x-3.5.4-0.69.el5 Doc Type: Bug Fix
Doc Text:
When using non-standard character sets, the command 'wbinfo' displayed user and group names with accented characters incorrectly. With this update, those names are displayed correctly with all supported character sets.
Story Points: ---
Clone Of:
: 650244 1038618 (view as bug list) Environment:
Last Closed: 2011-01-13 22:48:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 650244, 1038618    

Description Pierre Carrier 2010-11-04 11:29:40 UTC
Description of problem:

With unix charset = ISO8859-15:
- accentued characters (éééèèùùàà...) are correctly displayed in explorer.exe
- wbinfo -u and wbinfo -g are not functional

With unixcharset = UTF-8
- accentued characters are not correctly displayed (eg: "é"=>"_")
- wbinfo becomes fonctional

Version-Release number of selected component (if applicable):
samba 3.5.4-0.68.el5

How reproducible:
Apparently 100%

Steps to Reproduce:
1. Use in smb.conf:
[global]
  unix charset = UTF-8
  display charset = UTF-8

1. Have filenames with ISO-8859-15 accents
2. Look at the directory contents in explorer.exe
  
Actual results:
- Incorrect filenames appear
- In the Samba logs, one can see:
(*) [2010/11/04 11:24:01.310367,  1] ../librpc/ndr/ndr.c:395(ndr_pull_error)
  ndr_pull_error(1): String terminator not present or outside string boundaries

Expected results:
- Having both wbinfo working and filenames visible

Additional info:
Please see upstream report https://bugzilla.samba.org/show_bug.cgi?id=7594

Comment 14 Eva Kopalova 2010-12-15 08:41:28 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
When using non-standard character sets, the command 'wbinfo' displayed user and group names with accented characters incorrectly. With this update, those names are displayed correctly with all supported character sets.

Comment 16 errata-xmlrpc 2011-01-13 22:48:26 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0054.html