ALT Linux sysadmins discussion
 help / color / mirror / Atom feed
From: alisher <alisher_faiz@rambler.ru>
To: ALT Linux sysadmin discuss <sysadmins@lists.altlinux.org>
Subject: Re: [Sysadmins] samba+printer
Date: Thu, 17 Apr 2008 09:25:04 +0600
Message-ID: <4806C310.2080604@rambler.ru> (raw)
In-Reply-To: <20080416210440.GT32389@osdn.org.ua>


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



  reply	other threads:[~2008-04-17  3:25 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-16  6:52 alisher
2008-04-16 16:59 ` Dmitry
2008-04-17  3:25   ` alisher
2008-04-16 21:04 ` Michael Shigorin
2008-04-17  3:25   ` alisher [this message]
2008-04-17  8:16     ` Michael Shigorin
2008-04-17  8:45       ` alisher

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=4806C310.2080604@rambler.ru \
    --to=alisher_faiz@rambler.ru \
    --cc=sysadmins@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 sysadmins discussion

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sysadmins/0 sysadmins/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 sysadmins sysadmins/ http://lore.altlinux.org/sysadmins \
		sysadmins@lists.altlinux.org sysadmins@lists.altlinux.ru sysadmins@lists.altlinux.com
	public-inbox-index sysadmins

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sysadmins


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git