Bug 9645 - Illegal multibyte sequence bug when using accentuated characters in share "Comment" setting
Illegal multibyte sequence bug when using accentuated characters in share "Co...
Status: NEW
Product: Samba 3.5
Classification: Unclassified
Component: File services
3.5.6
All All
: P5 normal
: ---
Assigned To: Volker Lendecke
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
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.