ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Eugene <et@kaluga.ru>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] Самба и печать
Date: Sun, 3 Feb 2002 18:39:32 +0300
Message-ID: <200202031540.g13FeCi91688@lancia.kaluga.ru> (raw)
In-Reply-To: <20020130170257.GK20114@sam-solutions.net>

30 Январь 2002 20:02, Вы написали:
> On Wed, Jan 30, 2002 at 07:49:00PM +0300, Eugene wrote:
> > Добрый вечер!
> > Имеется одна машина с Сизифом, другая с Юниором.
> > Локаль 1251
> > Возникли две проблемы:
> > 1. На обоих машинах после монтирования по smbmount расшаренного каталога
> > на Винде русские имена файлов там видны абракадаброй, хотя smbclient даёт
> > имена нормально. 
> У меня локаль be_BY.CP1251, таких проблем не наблюдается. Настройки в
> smb.conf:
>
> [global]
>
> # Charsets
> client code page = 866
> character set = 1251

Это есть, тем не менее абракадабра остаётся.
Поставил на обе машины Мастера - ничего не изменилось,
поставил be_BY.CP1251 новому тестовому юзеру - тоже ничего не дало :-(
Напомню, что smbclient даёт русские имена нормально.
Начал экспериментировать дальше, выяснилось:
1. Параметр client code page = 866 никак не влияет на smbclient
его можно даже закомментировать, всё равно smbclient даст русские имена 
нормально, при условии, что character set = 1251.
2. Закомментировал по одному и затем оба параметра; на smbmount это никак
не повлияло - абракадабра не изменилась, хотя они читаются, т.е. если задать
какой-нибудь из них неправильно то smbmount ругается.
3. Сказал smbmount <...> -o iocharset=cp1251,codepage=cp866 - и всё стало
как надо!
Похоже, что перекодировка всё-таки неправильно работает.
C уважением,
Евгений.




  reply	other threads:[~2002-02-03 15:39 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-01-30 16:49 Eugene
2002-01-30 17:02 ` Alexander Bokovoy
2002-02-03 15:39   ` Eugene [this message]
2002-02-03 19:37     ` Sergei
2002-02-04  7:52       ` Eugene
2002-02-04  8:02         ` AVL
2002-02-04 10:53           ` Eugene
2002-02-04 11:26             ` AVL
2002-02-04 14:00               ` Eugene
2002-02-04 14:11                 ` AVL
2002-02-04 14:28                 ` Alexander Bokovoy
2002-02-04 10:10         ` Alexander Bokovoy
2002-02-04 18:25         ` Sergei
2002-01-30 19:07 ` Dmitry V. Popkov
2002-01-30 19:12   ` Alexander Bokovoy
2002-01-31  9:04     ` Dmitry V. Popkov
2002-01-30 19:14   ` Alexander Kubatkin
2002-01-30 20:35 ` Roman S

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=200202031540.g13FeCi91688@lancia.kaluga.ru \
    --to=et@kaluga.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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