From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on sa.int.altlinux.org X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=BAYES_00 autolearn=ham version=3.2.3 Message-ID: <4806C310.2080604@rambler.ru> Date: Thu, 17 Apr 2008 09:25:04 +0600 From: alisher User-Agent: Thunderbird 2.0.0.6 (X11/20070804) MIME-Version: 1.0 To: ALT Linux sysadmin discuss References: <4805A215.6030500@rambler.ru> <20080416210440.GT32389@osdn.org.ua> In-Reply-To: <20080416210440.GT32389@osdn.org.ua> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [Sysadmins] samba+printer X-BeenThere: sysadmins@lists.altlinux.org X-Mailman-Version: 2.1.10b3 Precedence: list Reply-To: ALT Linux sysadmin discuss List-Id: ALT Linux sysadmin discuss List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 Apr 2008 03:23:48 -0000 Archived-At: List-Archive: > Поднимите log level в самбе и смотрите /var/log/samba/log.этаXP > > Примерно в это время не работало. Потом настроил с линуксовых машин шла печать а с ХР нет. Настроил его через cups. Но все же хотелось бы знать в чем проблеиа. log.*: [2008/04/16 09:48:42, 1] smbd/service.c:make_connection_snum(1033) tatmanager (192.168.1.4) signed connect to service manager initially as user tatmanager (uid=505, gid=505) (pid 12202) [2008/04/16 09:52:34, 0] lib/util_sock.c:read_data(534) read_data: read failure for 4 bytes to client 192.168.1.4. Error = Connection reset by peer [2008/04/16 10:04:13, 1] smbd/service.c:make_connection_snum(1033) tatmanager (192.168.1.4) signed connect to service public initially as user tatmanager (uid=505, gid=505) (pid 12660) [2008/04/16 10:04:29, 0] lib/util_sock.c:read_data(534) read_data: read failure for 4 bytes to client 192.168.1.4. Error = Connection reset by peer [2008/04/16 10:04:30, 1] smbd/service.c:make_connection_snum(1033) tatmanager (192.168.1.4) signed connect to service public initially as user nobody (uid=99, gid=99) (pid 12660) [2008/04/16 10:04:48, 1] smbd/service.c:close_cnum(1230) tatmanager (192.168.1.4) closed connection to service public [2008/04/16 10:12:42, 1] smbd/service.c:close_cnum(1230) tatmanager (192.168.1.4) closed connection to service public [2008/04/16 10:19:16, 1] smbd/service.c:make_connection_snum(1033) tatmanager (192.168.1.4) signed connect to service manager initially as user tatmanager (uid=505, gid=505) (pid 5775) [2008/04/16 10:21:27, 0] param/loadparm.c:service_ok(3004) WARNING: No path in service Без имени - making it unavailable! [2008/04/16 10:21:27, 1] param/loadparm.c:service_ok(3011) NOTE: Service Без имени is flagged unavailable. [2008/04/16 10:21:57, 1] smbd/service.c:close_cnum(1230) tatmanager (192.168.1.4) closed connection to service manager [2008/04/16 11:12:21, 0] lib/util_sock.c:read_data(534) read_data: read failure for 4 bytes to client 192.168.1.4. Error = Connection reset by peer [2008/04/16 11:12:33, 0] lib/util_sock.c:read_data(534) read_data: read failure for 4 bytes to client 192.168.1.4. Error = Connection reset by peer [2008/04/16 11:19:08, 0] lib/util_sock.c:write_data(562) write_data: write failure in writing to client 0.0.0.0. Error Connection reset by peer [2008/04/16 11:19:08, 0] lib/util_sock.c:send_smb(769) Error writing 4 bytes to client. -1. (Connection reset by peer) [2008/04/16 11:23:39, 0] param/params.c:Section(280) params.c:Section() - Badly formed line in configuration file: ] [2008/04/16 11:23:39, 0] param/params.c:pm_process(596) params.c:pm_process() - Failed. Error returned from params.c:parse(). [2008/04/16 11:35:28, 1] smbd/service.c:make_connection_snum(1033) tatmanager (192.168.1.4) signed connect to service public initially as user tatmanager (uid=505, gid=505) (pid 6098) [2008/04/16 11:35:34, 1] smbd/service.c:make_connection_snum(1033) tatmanager (192.168.1.4) signed connect to service public initially as user nobody (uid=99, gid=99) (pid 6098) [2008/04/16 11:35:51, 1] smbd/service.c:close_cnum(1230) tatmanager (192.168.1.4) closed connection to service public [2008/04/16 11:36:00, 1] smbd/service.c:make_connection_snum(1033) tatmanager (192.168.1.4) signed connect to service public initially as user nobody (uid=99, gid=99) (pid 6098) [2008/04/16 11:36:11, 1] smbd/service.c:close_cnum(1230) tatmanager (192.168.1.4) closed connection to service public [2008/04/16 11:36:22, 1] smbd/service.c:make_connection_snum(1033) tatmanager (192.168.1.4) signed connect to service public initially as user nobody (uid=99, gid=99) (pid 6098) [2008/04/16 11:36:23, 1] smbd/service.c:close_cnum(1230) tatmanager (192.168.1.4) closed connection to service public [2008/04/16 11:36:29, 1] smbd/ipc.c:api_fd_reply(290) api_fd_reply: INVALID PIPE HANDLE: 7330 [2008/04/16 12:09:43, 0] lib/util_sock.c:write_data(562) write_data: write failure in writing to client 192.168.1.4. Error Connection reset by peer [2008/04/16 12:09:43, 0] lib/util_sock.c:send_smb(769) Error writing 4 bytes to client. -1. (Connection reset by peer) [2008/04/16 12:09:44, 0] lib/util_sock.c:write_data(562) write_data: write failure in writing to client 192.168.1.4. Error Connection reset by peer [2008/04/16 12:09:44, 0] lib/util_sock.c:send_smb(769) Error writing 4 bytes to client. -1. (Connection reset by peer) [2008/04/16 12:21:43, 1] smbd/service.c:make_connection_snum(1033) tatmanager (192.168.1.4) signed connect to service public initially as user tatmanager (uid=505, gid=505) (pid 6410) [2008/04/16 12:22:21, 0] lib/util_sock.c:read_data(534) read_data: read failure for 4 bytes to client 192.168.1.4. Error = Connection reset by peer [2008/04/16 12:22:30, 0] lib/util_sock.c:write_data(562) write_data: write failure in writing to client 192.168.1.4. Error Connection reset by peer [2008/04/16 12:22:30, 0] lib/util_sock.c:send_smb(769) Error writing 4 bytes to client. -1. (Connection reset by peer) [2008/04/16 12:56:06, 0] lib/util_sock.c:write_data(562) write_data: write failure in writing to client 192.168.1.4. Error Connection reset by peer [2008/04/16 12:56:06, 0] lib/util_sock.c:send_smb(769) Error writing 4 bytes to client. -1. (Connection reset by peer) [2008/04/16 13:05:38, 0] lib/util_sock.c:write_data(562) smb.conf: [print$] path = /var/lib/samba/printers write list = @adm root [lexm1] printer = lexmark printable = yes valid users = @manager path = /var/spool/samba public = yes [printers] path = /var/spool/samba guest ok = yes printable = yes public = yes