ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Шигапов Ринат" <srk@nevod.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] OpenVZ & smbnetfs & FreeNX
Date: Wed, 29 Jul 2009 16:31:38 +0600
Message-ID: <4A70250A.1090209@nevod.ru> (raw)
In-Reply-To: <4A6985AA.9020304@nevod.ru>

Здравствуйте!

Без проблем монтирую smb-шары линуксовых клиентов в FreeNX-сервер на 
базе OpenVZ. Вот так работает smbclient:
#>>>>>>
smbclient -U srk -p $NXSAMBA_PORT //127.0.0.1/srk
Password:
Domain=[ADMIN] OS=[Unix] Server=[Samba 3.0.33]
smb: \>
#<<<<<

Возникла заминка с Windows-клиентами. smbclient работает по-другому:
#>>>>>
[test@nxServer ~]$ smbclient -U test -p $NXSAMBA_PORT //127.0.0.1/Mydocs
session request to 127.0.0.1 failed (Called name not present)
Receiving SMB: Server stopped responding
session request to 127 failed (Call returned zero bytes (EOF))
Password:
Domain=[NEVOD-E59377A71] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
smb: \>
#<<<<<<
С указанием NetBIOS имени вообще всё гладко:
#>>>>>
[test@nxServer ~]$ smbclient -U test -p $NXSAMBA_PORT -I 127.0.0.1 
//NEVOD-E59377A71/Mydocs
Password:
Domain=[NEVOD-E59377A71] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
smb: \>
#<<<<<<

Однако smbnetfs не работает. Кто-нибудь монтировал шары Windows через 
smbnetfs + проброс 445 порта?

Точка монтирования smbnetfs ~/MyShares/Mydocs:
#>>>>>>
[test@nxServer ~]$ ls -l ~/MyShares/Mydocs/test:test@127.0.0.1
ls: невозможно открыть каталог 
/home/test/MyShares/Mydocs/test:test@127.0.0.1: Недопустимый аргумент
[test@nxServer ~]$ ls -l ~/MyShares/Mydocs/test:test@127.0.0.1/Mydocs
ls: невозможно открыть каталог 
/home/test/MyShares/Mydocs/test:test@127.0.0.1/Mydocs: Недопустимый аргумент
#<<<<<<<

В stderr smbnetfs:
#>>>>>>>
[test@nxServer ~]$ smbnetfs -f -d ~/MyShares/Mydocs/
unique: 1, opcode: INIT (26), nodeid: 0, insize: 56
INIT: 7.9
flags=0x0000003b
max_readahead=0x00020000
   INIT: 7.8
   flags=0x00000000
   max_readahead=0x00020000
   max_write=0x00020000
   unique: 1, error: 0 (Победа), outsize: 40
unique: 2, opcode: LOOKUP (1), nodeid: 1, insize: 60
LOOKUP /test:test@127.0.0.1
   NODEID: 2
   unique: 2, error: 0 (Победа), outsize: 136
unique: 3, opcode: GETXATTR (22), nodeid: 2, insize: 72
   unique: 3, error: -38 (Функция не реализована), outsize: 16
unique: 4, opcode: OPENDIR (27), nodeid: 2, insize: 48
read_socket_with_timeout: timeout read. read error = Соединение 
разорвано другой стороной.
Receiving SMB: Server stopped responding
   unique: 4, error: -22 (Недопустимый аргумент), outsize: 16
unique: 5, opcode: LOOKUP (1), nodeid: 1, insize: 60
LOOKUP /test:test@127.0.0.1
   NODEID: 2
   unique: 5, error: 0 (Победа), outsize: 136
unique: 6, opcode: LOOKUP (1), nodeid: 2, insize: 47
LOOKUP /test:test@127.0.0.1/Mydocs
   NODEID: 3
   unique: 6, error: 0 (Победа), outsize: 136
unique: 7, opcode: OPENDIR (27), nodeid: 3, insize: 48
read_socket_with_timeout: timeout read. read error = Соединение 
разорвано другой стороной.
Receiving SMB: Server stopped responding
   unique: 7, error: -22 (Недопустимый аргумент), outsize: 16

#<<<<<<<

Что-то связанное с NetBIOS?

-- 
С уважением,
        Шигапов Ринат
        инженер-программист ООО "Невод"
        тел. (342)2196960
        JabberID: dxist эт ya.ru 
				



      reply	other threads:[~2009-07-29 10:31 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-07-22  9:37 Шигапов Ринат
2009-07-22 10:42 ` Boris Savelev
2009-07-24  9:58   ` Шигапов Ринат
2009-07-29 10:31     ` Шигапов Ринат [this message]

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=4A70250A.1090209@nevod.ru \
    --to=srk@nevod.ru \
    --cc=community@lists.altlinux.org \
    /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