[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Samba versteht sich selber nicht



On 30.09.05 10:57:42, Olaf Eichhorn wrote:
> Hi Ulrich,
> 
> hier ein kurzer Auszug aus der Sambadoku. Vielleicht wirst Du daraus schlauer.
>
> 29.3 Samba and Charsets
> 
> As of Samba-3, Samba can (and will) talk unicode over the wire. Internally, 
> Samba knows

Hmm, das funktioniert wohl, wobei ich jetzt die Unicode-Sequenz nicht
prüfen kann/will. Aber mein Serverlog sagt:

andreas closed file t<C3><83><C2><B6>t

Und das wird wahrscheinlich ein 4-Byte-Unicode-kodiertes "ö" sein.

> unix charset This is the charset used internally by your operating system. The 
> default
> is UTF-8, which is fine for most systems, which covers all characters in all 
> languages.

Hab ich.

> display charset This is the charset Samba will use to print messages on your 
> screen. It
> should generally be the same as the unix charset.

Hab ich auch.

> dos charset This is the charset Samba uses when communicating with DOS and 
> Windows
> 9x/Me clients. It will talk unicode to all newer clients.

Da hab ich mal latin1 genommen und ich kriege auf dem smb-Verzeichnis
Umlaute als "?" angezeigt (wenn ich sie in dem richtigen Verzeichnis
erstellt hab) und umgedreht (ich erzeuge auf dem smb-mount ne
Umlaut-Datei) hab ich 2 kryptische Zeichen statt eines Umlauts auf dem
Original-Verzeichnis.

Erst wenn ich hier auch UTF-8 angebe klappt das. Also ist das Problem
wohl, dass smbmount sich als W9x Client ausgibt und nicht als
Samba-Client. Laut manpage von smbmount sollte iocharset da helfen, tuts
aber nicht. Damit kann man keine Umlaute in Umgebungen mit W9x oder DOS
Clients einsetzen, weil die ja kein UTF-8 können, oder man muss auf
allen Linux-Kisten auch latin1 einsetzen und kein UTF-8.

CIFS hat übrigens diesselben Probleme.

Andreas

-- 
Tuesday After Lunch is the cosmic time of the week.



Reply to: