[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

samba druckerfreigabe



Hallo

OS= Lenny

Ich versuche schon seit Stunden, unter linux
mittels Samba einen Drucker fuer Win7 freizugeben.
Unter cups (linux) ist der Drucker installert und funktioniert.

In Win7 kann ich mit dem Konsolenbefehl net view \\saturn
auch alle Freigaben sehen. Das Freigegebene verzeichniss
public ist unter Win vorhanden und ich kann auch auf Dateien
zugreifen. Ich habe nun unter Win 7 den Netzwerkdrucker installiert.
Win findet diesen auch, und ich habe dann in Win einen Druckertreiber 
installiert.
meine smb.conf sieht wie folgt aus:
#
# Sample configuration file for the Samba suite for Debian GNU/Linux.
#
#
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options most of which 
# are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash) 
# is a comment and is ignored. In this example we will use a #
# for commentary and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command
# "testparm" to check that you have not many any basic syntactic 
# errors. 
#

#======================= Global Settings =======================

[global]
workgroup = ARBEITSGRUPPE
security = SHARE
printing = CUPS
printcap name = CUPS
load printers = yes
[public]
path = /public
guest ok = yes
guest only = yes
read only = no
[printers]
printer = laser
path = /var/spool/samba
printable = yes
public = yes
writable = yes
browseable = yes
guest ok = yes
printer admin = root
[print$]
path = /etc/samba/drivers
browseable = yes
guest ok = yes
read only = yes
write list = root

-------------------------------------
In dem log-file von smb ist mir einiges aufgefallen,
ich kann aber mit den Fehlermeldungen nichts anfangen

/var/log/samba/smbd.log
[2009/12/19 12:36:02,  0] lib/util_sock.c:get_peer_addr_internal(1676)
  __ffff_192.168.0.4 (::ffff:192.168.0.4) closed connection to service laser
[2009/12/19 13:19:08,  1] rpc_client/cli_pipe.c:cli_rpc_pipe_open(2227)
  cli_rpc_pipe_open: cli_nt_create failed on pipe \spoolss to machine venus.  Error was NT_STATUS_ACCESS_DENIED
[2009/12/19 13:25:23,  1] rpc_client/cli_pipe.c:cli_rpc_pipe_open(2227)
  cli_rpc_pipe_open: cli_nt_create failed on pipe \spoolss to machine venus.  Error was NT_STATUS_ACCESS_DENIED
[2009/12/19 13:26:00,  1] rpc_client/cli_pipe.c:cli_rpc_pipe_open(2227)
  cli_rpc_pipe_open: cli_nt_create failed on pipe \spoolss to machine venus.  Error was NT_STATUS_ACCESS_DENIED
[2009/12/19 13:29:01,  1] rpc_client/cli_pipe.c:cli_rpc_pipe_open(2227)
  cli_rpc_pipe_open: cli_nt_create failed on pipe \spoolss to machine venus.  Error was NT_STATUS_ACCESS_DENIED
[2009/12/19 13:40:10,  0] smbd/server.c:main(1213)
  smbd version 3.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2008
[2009/12/19 13:40:10,  1] param/loadparm.c:lp_do_parameter(7207)
  WARNING: The "printer admin" option is deprecated
[2009/12/19 13:42:01,  1] rpc_client/cli_pipe.c:cli_rpc_pipe_open(2227)
  cli_rpc_pipe_open: cli_nt_create failed on pipe \spoolss to machine venus.  Error was NT_STATUS_ACCESS_DENIED
[2009/12/19 14:00:12,  0] smbd/server.c:main(1213)
  smbd version 3.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2008
[2009/12/19 14:05:33,  1] rpc_client/cli_pipe.c:cli_rpc_pipe_open(2227)
  cli_rpc_pipe_open: cli_nt_create failed on pipe \spoolss to machine venus.  Error was NT_STATUS_ACCESS_DENIED
[2009/12/19 14:05:50,  1] smbd/ipc.c:api_fd_reply(333)
  api_fd_reply: INVALID PIPE HANDLE: 7063
[2009/12/19 14:06:06,  1] rpc_client/cli_pipe.c:cli_rpc_pipe_open(2227)
  cli_rpc_pipe_open: cli_nt_create failed on pipe \spoolss to machine venus.  Error was NT_STATUS_ACCESS_DENIED
[2009/12/19 14:07:16,  1] rpc_client/cli_pipe.c:cli_rpc_pipe_open(2227)
  cli_rpc_pipe_open: cli_nt_create failed on pipe \spoolss to machine venus.  Error was NT_STATUS_ACCESS_DENIED
[2009/12/19 14:14:31,  1] rpc_client/cli_pipe.c:cli_rpc_pipe_open(2227)
  cli_rpc_pipe_open: cli_nt_create failed on pipe \spoolss to machine venus.  Error was NT_STATUS_ACCESS_DENIED
  read_socket_with_timeout: client 0.0.0.0 read error = Die Verbindung wurde vom Kommunikationspartner zurückgesetzt.
[2009/12/19 15:36:53,  0] lib/util_sock.c:read_socket_with_timeout(939)
[2009/12/19 15:36:53,  0] lib/util_sock.c:get_peer_addr_internal(1676)
  getpeername failed. Error was Der Socket ist nicht verbunden
  read_socket_with_timeout: client 0.0.0.0 read error = Die Verbindung wurde vom Kommunikationspartner zurückgesetzt.
[2009/12/19 15:37:23,  0] lib/util_sock.c:read_socket_with_timeout(939)
[2009/12/19 15:37:23,  0] lib/util_sock.c:get_peer_addr_internal(1676)
  getpeername failed. Error was Der Socket ist nicht verbunden
  read_socket_with_timeout: client 0.0.0.0 read error = Die Verbindung wurde vom Kommunikationspartner zurückgesetzt.
[2009/12/19 15:37:53,  0] lib/util_sock.c:read_socket_with_timeout(939)
[2009/12/19 15:37:53,  0] lib/util_sock.c:get_peer_addr_internal(1676)
  getpeername failed. Error was Der Socket ist nicht verbunden
  read_socket_with_timeout: client 0.0.0.0 read error = Die Verbindung wurde vom Kommunikationspartner zurückgesetzt.
[2009/12/19 15:38:38,  1] rpc_client/cli_pipe.c:cli_rpc_pipe_open(2227)
  cli_rpc_pipe_open: cli_nt_create failed on pipe \spoolss to machine venus.  Error was NT_STATUS_ACCESS_DENIED
[2009/12/19 15:39:53,  0] lib/util_sock.c:read_socket_with_timeout(939)
[2009/12/19 15:39:53,  0] lib/util_sock.c:get_peer_addr_internal(1676)
  getpeername failed. Error was Der Socket ist nicht verbunden
  read_socket_with_timeout: client 0.0.0.0 read error = Die Verbindung wurde vom Kommunikationspartner zurückgesetzt.
[2009/12/19 16:47:27,  1] smbd/service.c:make_connection_snum(1198)
  __ffff_192.168.0.4 (::ffff:192.168.0.4) connect to service public initially as user nobody (uid=65534, gid=65534) (pid 3387)
[2009/12/19 16:49:13,  1] smbd/service.c:close_cnum(1409)
  __ffff_192.168.0.4 (::ffff:192.168.0.4) closed connection to service public
[2009/12/19 16:53:41,  0] lib/util_sock.c:read_socket_with_timeout(939)
[2009/12/19 16:53:41,  0] lib/util_sock.c:get_peer_addr_internal(1676)
  getpeername failed. Error was Der Socket ist nicht verbunden
  read_socket_with_timeout: client 0.0.0.0 read error = Die Verbindung wurde vom Kommunikationspartner zurückgesetzt.
[2009/12/19 17:30:20,  0] lib/util_sock.c:read_socket_with_timeout(939)
[2009/12/19 17:30:20,  0] lib/util_sock.c:get_peer_addr_internal(1676)
  getpeername failed. Error was Der Socket ist nicht verbunden
  read_socket_with_timeout: client 0.0.0.0 read error = Die Verbindung wurde vom Kommunikationspartner zurückgesetzt.
[2009/12/19 17:38:08,  1] smbd/service.c:close_cnum(1409)
  __ffff_192.168.0.2 (::ffff:192.168.0.2) closed connection to service public
[2009/12/19 17:39:42,  0] smbd/server.c:main(1213)
  smbd version 3.2.5 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2008
[2009/12/19 17:39:42,  1] param/loadparm.c:lp_do_parameter(7207)
  WARNING: The "printer admin" option is deprecated

Ich habe auch schon wegen der Fehlermeldung gegoogelt. Aber da komm ich auch nicht weiter.

tschau
   hermann



Reply to: