Dmitry Prokopiev
2003-Apr-07 08:08 UTC
[Samba] Samba and charset convention with UTF8 to other ....
Hi All! I have BSD box running 4.6.2-RELEASE ... I build and install samba-3.0alpha20 with key --with-iconv. My smb.conf in global part have next strings: dos charset = CP866 ; unix charset = KOI8-U display charset = CP866 I run utilitys testparm and see the next messages: Conversion from UCS-2LE to CP866 not supported Conversion from UCS-2LE to CP866 not supported Conversion from UTF8 to CP866 not supported Conversion from UTF8 to CP866 not supported Conversion from CP866 to UCS-2LE not supported Conversion from CP866 to UTF8 not supported Conversion from CP866 to UTF8 not supported Conversion from CP866 to UCS-2LE not supported Conversion from CP866 to UTF8 not supported Conversion from CP866 to UTF8 not supported Conversion from UTF8 to CP866 not supported Conversion from UTF8 to CP866 not supported Loaded services file OK. How i can use conversion charset or how i can corret build samba with charset conversion? -- Dmitry Prokopiev, UkrCom's TEL: +380-44-2055560, +380-44-2055530 | FAX: +380-44-2055585 || RIP4-RIPE
Andrew Bartlett
2003-Apr-07 08:56 UTC
[Samba] Samba and charset convention with UTF8 to other ....
On Mon, 2003-04-07 at 18:08, Dmitry Prokopiev wrote:> Hi All! > > I have BSD box running 4.6.2-RELEASE ... I build and install samba-3.0alpha20 with key > --with-iconv. My smb.conf in global part have next strings: > > dos charset = CP866 > ; unix charset = KOI8-U > display charset = CP866 > > I run utilitys testparm and see the next messages: > > Conversion from UCS-2LE to CP866 not supported > Conversion from UCS-2LE to CP866 not supported > Conversion from UTF8 to CP866 not supported > Conversion from UTF8 to CP866 not supported > Conversion from CP866 to UCS-2LE not supported > Conversion from CP866 to UTF8 not supported > Conversion from CP866 to UTF8 not supported > Conversion from CP866 to UCS-2LE not supported > Conversion from CP866 to UTF8 not supported > Conversion from CP866 to UTF8 not supported > Conversion from UTF8 to CP866 not supported > Conversion from UTF8 to CP866 not supported > Loaded services file OK. > > How i can use conversion charset or how i can corret build samba with charset conversion?Install libiconv if you want to use CP866, as it can't be supported without it. 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/20030407/c7defce4/attachment.bin
Dmitry Prokopiev
2003-Apr-07 09:40 UTC
[Samba] Samba and charset convention with UTF8 to other ....
> Samba implements some other charsets internally, that is what this list > is about. Check what 'iconv' thinks are valid charsets.Ok, i have tested and convertions correctly. Test charsets: UTF8 to CP866 UTF8 to KOI8-R And, i have compiled samba with -g options, using gdb tracing testparm. Iconv.c don`t uses other charsets when tested in smb_iconv_open. Charsets structs have only charactes which i enumerate later. -- Dmitry Prokopiev, UkrCom's TEL: +380-44-2055560, +380-44-2055530 | FAX: +380-44-2055585 || RIP4-RIPE