Bug 9645 - Illegal multibyte sequence bug when using accentuated characters in share "Comment" setting
Summary: Illegal multibyte sequence bug when using accentuated characters in share "Co...
Status: NEW
Alias: None
Product: Samba 3.5
Classification: Unclassified
Component: File services (show other bugs)
Version: 3.5.6
Hardware: All All
: P5 normal
Target Milestone: ---
Assignee: Volker Lendecke
QA Contact: Samba QA Contact
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-07 18:42 UTC by MG
Modified: 2013-02-07 19:00 UTC (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description MG 2013-02-07 18:42:22 UTC
Hi,

Using accents (multibyte characters) in the "comment" parameter of a share renders the server _completely unreachable_ on Windows 7 and the some of the other shares invisible on OS/X 10.8

[Backups]
	writeable = yes
	valid users = @lefourquet
	path = /home/Backups
	comment = Destiné aux backups système uniquement

Using log level = 6 shows that this error : 

[2013/02/07 18:26:01.292074,  3] lib/charcnv.c:279(convert_string_internal)
  convert_string_internal: Conversion error: Illegal multibyte sequence(? aux backups syst?me)
[2013/02/07 18:26:01.292097,  1] ../librpc/ndr/ndr.c:421(ndr_push_error)
  ndr_push_error(5): Bad character conversion

This behavior is a regression compared to 3.0.14 (shipped with lenny)

Txs
Comment 1 Jeremy Allison 2013-02-07 19:00:06 UTC
Can you try and reproduce this in Samba 3.6.x please ?

Jeremy.