ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: cornet <cornet@altlinux.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] smb-client  и русские шареные каталоги
Date: Thu Feb 21 17:19:02 2002
Message-ID: <3C750397.8C6292ED@altlinux.ru> (raw)
In-Reply-To: <1201123866.20020219074508@tatneft.ru>

Andry Vakatov wrote:
> 
> Привет всем!
> 
> Возникла проблема с шареными русскими каталогами с вин машин.
> smb-client все показывает, но монтирование не проходит ругается на
> неправильный пароль. Установлен Spring. Как можно решить? может быть
> достаточно обновится до какой-то версии, если да то до какой?

У меня спринговая Самба samba-2.0.7-ipl22mdk отлично видит и монтирует каталоги с русскими длинными
именами :-)

[root@smart etc]# rpm -q samba
samba-2.0.7-ipl22mdk
[root@smart etc]# smbclient -L win98
added interface ip=194.67.87.182 bcast=194.67.87.191 nmask=255.255.255.224
added interface ip=192.168.7.1 bcast=192.168.7.255 nmask=255.255.255.0
added interface ip=192.168.8.1 bcast=192.168.8.255 nmask=255.255.255.0
Got a positive name query response from 192.168.7.20 ( 192.168.7.20 )
Password:

        Sharename      Type      Comment
        ---------      ----      -------
        РУССКОЕ ИМЯ    Disk
        IPC$           IPC       Remote Inter Process Communication

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
[root@smart etc]# smbmount "//win98/РУССКОЕ ИМЯ" /mnt/disk/
Password:
[root@smart etc]# df | grep disk
//win98/РУССКОЕ_ИМЯ   1.9G  227M  1.7G  12% /mnt/disk
[root@smart etc]# ls -l /mnt/disk/
total 0
-rwxr-xr-x    1 root     root            0 Feb 21 15:57 New Text Document.txt
[root@smart etc]#

Какие вопросы? :-)

А всего то отличие от дефалта - в smb.conf прописал
[global]
client code page = 866
character set = koi8-r

И все стало бело и пушисто :-)

Все Самбы постарше, в том числе и нынешняя 2.2.3 нормально работают с русскими именами шар.

Hint:
В винде очень желательно выставить рускую локаль, да же если сама винда аглицкая, благодаря этому
нехитрому действию винда начинает предоставлять имена ресурсов в сеть в "правильной" кодировке.

-- 
Власенко Олег.
Отдел технической поддержки ALT Linux Team.
mailto:cornet@altlinux.ru



  parent reply	other threads:[~2002-02-21 17:19 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-02-19 10:40 Andry Vakatov
2002-02-19 19:17 ` cornet
2002-02-21 17:19 ` cornet [this message]
2002-02-22 12:52   ` [mdk-re] Re[2]: " Andry Vakatov
2002-02-23  0:12     ` Vitaly Lipatov
2002-02-23  0:30       ` cornet
2002-02-24 18:29         ` [mdk-re] Re[2]: " Andry Vakatov
2002-02-24 18:36           ` cornet

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=3C750397.8C6292ED@altlinux.ru \
    --to=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