Bug 408 - Charset conversion problem while mounting (cp852) NT4 on (iso8859-2) linux
Charset conversion problem while mounting (cp852) NT4 on (iso8859-2) linux
Status: RESOLVED LATER
Product: Samba 3.0
Classification: Unclassified
Component: smbclient
3.0.0preX
Other Linux
: P3 major
: none
Assigned To: Samba Bugzilla Account
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2003-09-05 06:23 UTC by Konrad Korzeniowski
Modified: 2005-02-07 09:05 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 Konrad Korzeniowski 2003-09-05 06:23:31 UTC
There is problem with smbclient (smbmount actually):
improper conversion while mounting cp852 share (NT4 side)
on iso8859-2 "oriented" linux.

Problem description (previous and current version of Samba Client):
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=195685
Comment 1 Konrad Korzeniowski 2003-09-05 06:53:28 UTC
Just in case my post to debian bugtrack:

"smbclient" works fine (shows polish diacritical
chars properly, can get, put, cd), and problem
is in "smbmount".

Proper parameter setting (iocharset=iso8859-2,
codepage=cp852) causes "conversion" to plain asci
except for "รณ" letter which is OK.

I'm browsing inet for 2 days and I think it's
an VERY old problem of Samba, and it's really
annoying.
Comment 2 Konrad Korzeniowski 2003-09-10 06:32:38 UTC
Now I know that charset seeting in smbmount is passed to smbfs
driver in kernel. But kernel doc for smbfs says that it is maintained
by Samba team... So, is there any hope for me? :-)
Comment 3 Gerald (Jerry) Carter 2003-09-10 07:12:59 UTC
As an immediate workaround, I would suggest testing 
the cifsvfs client written by Steve Freench.
See http://samba.org/samba/download/ under the clients
section for a link to the project page.

For the record, smbmount, et. al. at maintained in 
the Samba source tree, but the smbfs file system is 
not maintained by the Samba team.
Comment 4 Konrad Korzeniowski 2003-09-10 08:48:59 UTC
Cifsvfs is working nice ... but only with w2k servers - 
mine is NT4.0

> For the record, smbmount, et. al. at maintained in 
> the Samba source tree, but the smbfs file system is 
> not maintained by the Samba team.

so /usr/src/linux/Documentation/filesystems/smbfs.txt says...

smbmount is talking with smbfs module in kernel, but they cannot
agree...

What smbmount is without proper smbfs module in kernel?

I do need sync NT <-> linux directories. Now I have 2 options:
1. use such monster: smbtar -sservername -xd$ -uuser -ppass -t-  -l0 mnt/test 
|tar -x
2. Migrate to w2k and use Cifsvfs.

I don't know wich one is worse.


Comment 5 Gerald (Jerry) Carter 2004-03-17 10:15:06 UTC
closing
Comment 6 Gerald (Jerry) Carter 2005-02-07 09:05:57 UTC
originally reported against one of the 3.0.0rc[1-4] releases.
Cleaning up non-production versions.