[Sysadmins] samba+printer

alisher =?iso-8859-1?q?alisher=5Ffaiz_=CE=C1_rambler=2Eru?=
Чт Апр 17 07:25:04 MSD 2008


> Поднимите 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




Подробная информация о списке рассылки Sysadmins