From: Alexander Bokovoy <a.bokovoy@sam-solutions.net> To: sisyphus@altlinux.ru Subject: Re: [sisyphus] Самба и печать Date: Mon, 4 Feb 2002 16:28:25 +0200 Message-ID: <20020204142825.GG30060@sam-solutions.net> (raw) In-Reply-To: <200202041401.g14E1Pi78828@lancia.kaluga.ru> On Mon, Feb 04, 2002 at 05:00:44PM +0300, Eugene wrote: > 4 Февраль 2002 14:26, Вы написали: > > On Mon, 4 Feb 2002 13:53:10 +0300 > > > > Eugene <et@kaluga.ru> wrote: > > > > зависит от ядра > > > > в серии 2.4 работать должен - правьте fstab. > > > > > > А он тут причём? > > > > mount -t smb -o codepage= iochsrset=... > > тоже самое что > > smbmount codepage= iochsrset=... > > > > связь с fstab понятна? > Прекрасно, и уже очень давно... > но речь-то не об этом, а о том, что в smb.conf параметр client code page не > работает Вот выдержка из моего письма в mandrake-russian от 15 января: ------------------------------------------------------------- Самба 2.2 работает в кодировке, предполагаемой таблицей трансляции, зашитой внутрь Самбы, и определяемой опцией 'character set'. Внутри Самбы для каждой выбранной 'character set' существует однозначное соответствие исходной кодировки. Для KOI8-R и CP1251 это CP866, _вне_зависимости_ от того, что указано в 'client code page'. Этим объясняется то, что у Вас получилось поставить client code page = 932: эта опция попросту игнорируется в smbclient и других программах, _если_ установлена опция 'character set'. Учитывается же она в некоторых RPC-вызовах (где и грузятся таблицы перекодировки из файлов, лежащих в /etc/samba/codepages/*). -------------------------------------------------------------- > > что вам самба _сервер_ должен? > У меня самба _сервер_ не установлен, а smb.conf тем не менее имеется, > он входит в samba-common, логично предположить, что для samba-client > он тоже нужен Да, нужен. > > каким образом это может работать? > > вы собираетесь одним единственным параметром в smb.conf управлять > > монтированием шар с кучи компов в куче кодировок? в fstab для каждого > > ресурса своя кодировка + по кодировка умолчанию стоит в конфиге _ядра_ - > > 866. > Я - не собирался и вопрос этот не поднимал. Но логика здесь может быть > такая - по умолчанию действуют параметры из smb.conf (оба, а не один), > которые могут быть заменены параметрами из fstab или из командной строки. > > Ну ладно, благодаря разъяснению Александра (спасибо!) я понял, что это > фича, хотя на мой взгляд и странная Это ни то, ни другое :) Это -- борьба с диверсификацией протоколов SMB от Microsoft и попытка поддерживать все, что возможно. -- / Alexander Bokovoy Software architect and analyst // SaM-Solutions Ltd. --- National security is in your hands - guard it well.
next prev parent reply other threads:[~2002-02-04 14:28 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 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 [this message] 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=20020204142825.GG30060@sam-solutions.net \ --to=a.bokovoy@sam-solutions.net \ --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