[Fwd: Re: [Samba] Corruption of floppy link when upgrading to 3.0.0]

Andrew Bartlett abartlet at samba.org
Thu Nov 13 21:43:21 GMT 2003


On Fri, 2003-11-14 at 03:04, Sam Seaver wrote:
> forgot to 'cc' this
> 
> -------- Original Message --------
> Subject: 	Re: [Samba] Corruption of floppy link when upgrading to 3.0.0
> Date: 	Thu, 13 Nov 2003 10:04:36 -0600
> From: 	Sam Seaver <samseaver at northwestern.edu>
> To: 	Chris Jones <CJones at gpcom.com>
> References: 	<6F382B556628D511B07F0002B32FF0BA82F4FA at gpc_exg.gpcom.com>
> 
> 
> 
> Actually, I spoke too soon...I'm not sure I get this:
> 
> Looking up 'unix charset' it says that you're defining the charset that 
> your server is using..
> 
> but looking up CP850, which is Code Page 850, this is the charset for 
> MS-DOS, so how can you say that your unix is using an MS-DOS charset??

Exactly.  See, what happened with Samba 2.2 was that if you didn't set
any charset settings, we just copied the bytes from the client.  If the
client was in CP850, that's how the files appeared.

Anyway, Samba 3.0 moved to using unicode on the wire, so it could no
longer just copy what the client sent - this was a very good thing too,
as we could finally put a real barrier between the client and server
codepages.

So, you have files on your disk in CP850, but Samba 3.0's default
charset is UTF8, for perfect unicode rendition.  

Your options are to rename the files into their UTF8 form, or to just
use CP850 as the unix charset.  The command line 'iconv' utility will
help with renaming files.

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20031114/fe610943/attachment.bin


More information about the samba mailing list