ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Alexander Bokovoy <a.bokovoy@sam-solutions.net>
To: mandrake-russian@altlinux.ru
Cc: cornet@altlinux.ru
Subject: [mdk-re] Re: Самба
Date: Tue Jan 15 19:38:00 2002
Message-ID: <20020115163915.GI24142@sam-solutions.net> (raw)
In-Reply-To: <20020112120627.1fc61725.peet@infosite.ru>

On Sat, Jan 12, 2002 at 12:06:27PM +0300, Peter V.Saveliev wrote:
> On Fri, 11 Jan 2002 20:04:55 +0200
> "Alexander Bokovoy" <a.bokovoy@sam-solutions.net> wrote:
> 
> > > # 936 (Japanese - Shift-JIS), 936 (Simpl. Chinese), 949 (Korean Hangul),
> > За это надо "благодарить" Джерри Картера из команды Мандрейка, который это
> > писал и до сих пор не выверил, что должно быть "932 (MS-DOS Japanese
> > Shift-JIS). Обратите также внимание на двойное повторение 936.
> 
> Ух ты. А можно нескромный вопрос? Я пробовал дома завести самбу на (пока)
> виртуальной сетке. Последовательность действий:
> 
> template -> конфиг (этот template у меня живет и развивается еще с самбы 2.0.7)
> самба 2.2.2
> ядро 2.4.17
> 	все виндовые шары видны по-русски, имена файлов читаются правильно.
> 	попапы приходят в cp866 (это легко проверить, прогнав мессагу через iconv)
> Но не гонять же iconv, лезу в конфиг, добавляю те самые строки про 932
> 	попапы и приходят и уходят по-русски.
Итак, результаты аудита Самбы 2.2 (и объяснение почему у Вас работают
неправильные настройки):

Самба 2.2 работает в кодировке, предполагаемой таблицей трансляции, 
зашитой внутрь Самбы, и определяемой  опцией 'character set'. 
Внутри Самбы для каждой выбранной 'character set' существует 
однозначное соответствие исходной кодировки. Для KOI8-R и CP1251 это
CP866, _вне_зависимости_ от того, что указано в 'client code page'.

Этим объясняется то, что у Вас получилось поставить 
client code page = 932: эта опция попросту игнорируется в smbclient и
других программах, _если_ установлена опция 'character set'.

Учитывается же она в некоторых RPC-вызовах (где и грузятся таблицы
перекодировки из файлов, лежащих в /etc/samba/codepages/*).

Попутно выяснилась ошибка с именами пользователей и компьютеров, если они
заданы не в ASCII при посылке сообщений. Обновление в Сизифе скоро будет.

-- 
/ Alexander Bokovoy
$ cat /proc/identity >~/.signature
  `Senior software developer and analyst for SaM-Solutions Ltd.`
---
Nov 21 20:58:58 alconost kernel: VFS: Busy inodes after unmount. 
		    Self-destruct in 5 seconds.  Have a nice day...



  parent reply	other threads:[~2002-01-15 19:38 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-11 11:34 [mdk-re] Самба John
2002-01-11 11:54 ` cornet
2002-01-11 12:24 ` Peter V.Saveliev
2002-01-11 13:31   ` AVL
2002-01-11 13:33   ` Vyt
2002-01-11 14:40     ` Andriy Dobrovol's'kii
2002-01-11 15:45   ` [mdk-re] Самба Alexander Bokovoy
2002-01-11 18:41     ` Peter V.Saveliev
2002-01-11 21:06       ` Alexander Bokovoy
2002-01-12 12:04         ` Peter V.Saveliev
2002-01-12 14:38           ` Alexander Bokovoy
2002-01-15 19:38           ` Alexander Bokovoy [this message]
2002-01-16 11:39             ` Peter V.Saveliev

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20020115163915.GI24142@sam-solutions.net \
    --to=a.bokovoy@sam-solutions.net \
    --cc=cornet@altlinux.ru \
    --cc=mandrake-russian@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git