From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.5 X-Virus-Scanned: amavisd-new at nevod.ru Message-ID: <4A70250A.1090209@nevod.ru> Date: Wed, 29 Jul 2009 16:31:38 +0600 From: =?UTF-8?B?0KjQuNCz0LDQv9C+0LIg0KDQuNC90LDRgg==?= User-Agent: Thunderbird 2.0.0.17 (X11/20080929) MIME-Version: 1.0 To: ALT Linux Community general discussions References: <4A66DDE6.8050809@nevod.ru> <4d6cc2f20907220342h42c73f8bxc3f6cc5fc45f2fb6@mail.gmail.com> <4A6985AA.9020304@nevod.ru> In-Reply-To: <4A6985AA.9020304@nevod.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Comm] OpenVZ & smbnetfs & FreeNX X-BeenThere: community@lists.altlinux.org X-Mailman-Version: 2.1.12 Precedence: list Reply-To: ALT Linux Community general discussions List-Id: ALT Linux Community general discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Jul 2009 10:31:56 -0000 Archived-At: List-Archive: List-Post: Здравствуйте! Без проблем монтирую 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