* smbfs and failed nls translations
@ 2002-03-11 22:17 Grover, Andrew
2002-03-11 22:49 ` Urban Widmark
0 siblings, 1 reply; 2+ messages in thread
From: Grover, Andrew @ 2002-03-11 22:17 UTC (permalink / raw)
To: 'urban@teststation.com'; +Cc: 'linux-kernel@vger.kernel.org'
[resending - fingers instinctually typed wrong lkml address last time]
<urban@teststation.com> (02/03/07 1.375.1.137)
[PATCH] smbfs nls oops fix
Fixes smbfs oopsing on failed nls translations and maps unknown
chars to
:#### strings. Also PATHLEN vs NAMELEN mixups.
Hi, apparently my smbfs mounts have had failed nls translations, but I
didn't know it -- never saw any warnings. So when I upgraded to 2.5.6 that
included this patch, the filenames on my samba mounts all turned into
"x00:x00..." etc. ;-)
Turning off CONFIG_SMB_NLS_DEFAULT produces a different, but still failing,
result.
How can I get samba working again? What am I doing wrong? And, why is samba
so stingy with the error messages in this case?
Thanks -- Regards -- Andy
----------------------------
Andrew Grover
Intel Labs / Mobile Architecture
andrew.grover@intel.com
----------------------------
Andrew Grover
Intel Labs / Mobile Architecture
andrew.grover@intel.com
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: smbfs and failed nls translations
2002-03-11 22:17 smbfs and failed nls translations Grover, Andrew
@ 2002-03-11 22:49 ` Urban Widmark
0 siblings, 0 replies; 2+ messages in thread
From: Urban Widmark @ 2002-03-11 22:49 UTC (permalink / raw)
To: Grover, Andrew; +Cc: 'linux-kernel@vger.kernel.org'
On Mon, 11 Mar 2002, Grover, Andrew wrote:
> Hi, apparently my smbfs mounts have had failed nls translations, but I
> didn't know it -- never saw any warnings. So when I upgraded to 2.5.6 that
> included this patch, the filenames on my samba mounts all turned into
> "x00:x00..." etc. ;-)
smbmount from certain samba versions always negotiate unicode support.
smbfs should probably turn on it's internal unicode support when it sees
that, but right now it doesn't.
samba 2.2.1 is known to error this way, 2.2.3 should be fixed.
One workaround should be to pass codepage=unicode or to specify unicode as
the CONFIG_SMB_NLS_DEFAULT. Another to upgrade samba.
Please post the exact output of a few filenames as well as the expected
names if none of the above helps.
/Urban
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-03-11 22:50 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-03-11 22:17 smbfs and failed nls translations Grover, Andrew
2002-03-11 22:49 ` Urban Widmark
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®