Sam Seaver
2003-Nov-13 16:04 UTC
[Fwd: Re: [Samba] Corruption of floppy link when upgrading to 3.0.0]
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@northwestern.edu> To: Chris Jones <CJones@gpcom.com> References: <6F382B556628D511B07F0002B32FF0BA82F4FA@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?? S Chris Jones wrote:>Actually I did have this, it was related to charset in someway or another. >Problems displaying the 1/2 sign. Adding "unix charset = CP850" to my >smb.conf fixed it. > >-----Original Message----- >From: Sam Seaver [mailto:samseaver@northwestern.edu] >Sent: Thursday, November 13, 2003 9:19 AM >To: samba@lists.samba.org >Subject: [Samba] Corruption of floppy link when upgrading to 3.0.0 > > >Dear all, > >Here's the case, I've got several (5) win2k machines being served by a >Samba PDC (RH9). > >I did an upgrade of samba: > >service smb stop >cd /path/samba-3.0.0/source >make install >service smb start > >Everything seems to work fine EXCEPT...all the floppy links in all the >SendTo directories (and Recent, if used) in all the profiles on the >Samba PDC were corrupted. >This corruption prevented any log-in, because the win2k machines would >complain that they couldn't copy the file (the name appeared as long >gibberish). > >When I removed all these links, the log in worked just fine. > >Has anyone else had this? > > >The only thing I can think of that may have caused it, is that a >colleague logged in (forgetting he wasnt supposed to) to the domain, >just before I stopped the service. >He was still 'logged in' after I restarted the upgraded Samba (I had not >seen his log-in), and I couldn't log in to the domain from another machine. > >I made the machine leave and re-join the domain, and still couldnt >log-in, it was then that my colleague realised why his machine was >acting funny, logged out, and told me. >I restarted the smb service all over again, and this time everything >worked, but for the corrupted floppy links. > >Cheers >S > > >
Andrew Bartlett
2003-Nov-13 21:43 UTC
[Fwd: Re: [Samba] Corruption of floppy link when upgrading to 3.0.0]
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@northwestern.edu> > To: Chris Jones <CJones@gpcom.com> > References: <6F382B556628D511B07F0002B32FF0BA82F4FA@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@pcug.org.au Manager, Authentication Subsystems, Samba Team abartlet@samba.org Student Network Administrator, Hawker College abartlet@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