[Samba] Samba & Unicode

David Morel david.morel at amakuru.net
Thu Jun 19 07:32:36 GMT 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Francois Menard (Mailing List Account) wrote:
| With the final release of 2.4.21, would it be appropriate for Urban to
| consider updating all of the2.4.18 smbfs patches as a single file.

I just tried to apply all 3 patches to a stock 2.4.21, and here is what
i found out:

- - patch 00 on urban's page (codepage patch) is already part of 2.4.21
- - patch 01 and 02 (LFS & unicode) are not
- - patch 01 applies neatly on 2.4.21, BUT i get a LOT of smb_lookup
errors ( code -23 ) doing a find on a mounted w98 share. These errors
disappeared instatntly as i rolled back to stock 2.4.21.
- - patch 02 (which is what you really need in fact for unicode) will not
apply whitout patch 01 (as mentioned on Urban's page) because, afair,
urban implemented changes in the drivers's architecture from patch 01.
Being less than fluent in C (that's an understatement) i could not split
~ the lfs & unicode parts of it, and one could even wonder if the -23
errors have anything to see with lfs, and not with these architectural
changes.

If urban reads the list, as I was told he does, could he comment on this?

For your windows2000 problem, i had not trouble with accents (nor
cedillas or euro sign...)  as soon as i used iocharset=iso8859-15 and
codepage=cp850 in my smbmount command; I guess you would get pretty much
the same result the other way round putting
character set = ISO8859-15
client code page = 850
in your smb.conf. It works here, i just checked.

I find all this codepage, charset, nls, unicode and whatever stuff a bit
hard to understand, could anyone direct me to some reliable info?

|>From which version onward does windows SMB transmits directory and file
| names over the wire in unicode? Windows 2000 and upward?

I asked the same question 3 days ago without an answer. I was told
before it started with w2k, so i guess wxp does too.

David

- --
***********************************************
david.morel at amakuru.net
OpenPGP public key: http://www.amakuru.net/dmorel.asc
28192ef126bc871757cb7d97f4a44536

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQE+8WcTqr7QF98duCMRAoW0AKCc05rWWjGzrqhkK3PaGfwde+9seACeOvZa
iEG43ydVx1F7PC/Owh41EAk=
=n43a
-----END PGP SIGNATURE-----




More information about the samba mailing list