koxbox
12.06.04, 19:27
hallo,
nach mehrfachen rumexperimentieren mit der samba drcukfreigabe habe ich es endlich geschaftt das der drucker auch was ausdruckt... nur macht er das ganze auch nur 2 mal... der drucker wird ganz normal in der win xp netzwerkumgebung angezeigt... nach dem 2 maligen drucken verschwindet er aber von dort... starte ich samba neu... geht das ganze wieder 2 mal.
ich poste hier mal die smb.conf... und einen auszug der smb.log vom start des samba servers bis dahin wo er nix mehr ausdruckt....
[global]
workgroup = ARBEITSGRUPPE
security = share
printing = lprng
[root]
guest ok = yes
guest only = yes
path = /
read only = yes
writeable = true
[pool]
guest ok = yes
guest only = yes
path = /pool
read only = yes
writeable = true
[webserver]
guest ok = yes
guest only = yes
path = /webserver
read only = yes
writeable = true
[ftp]
guest ok = yes
guest only = yes
path = /ftp
read only = yes
writeable = true
#[printers]
#comment = All Printers
#path = /var/tmp
#printable = yes
#create mask = 066
#browsable = no
[printers]
printing = lprng
printable = Yes
#path = /var/tmp
path = /var/spool/lpd/styluscolor880
browseable = no
read only = no
guest ok = yes
use client driver = Yes
create mask = 0600
create mode = 0666
#hosts allow = 192.168.0.2
#hosts allow = 192.168.0.
printer name = styluscolor880
printcap name = /etc/printcap
load printers = Yes
#print command = /usr/bin/lpr -P %p -r %s
#lpq command = /usr/bin/lpq -P %p
#lprm command = /usr/bin/lprm/ -P %p %j
[styluscolor880]
printing = lprng
browsable = yes
printable = yes
writeable = yes
use client driver = Yes
create mask = 0600
create mode = 0666
public = yes
#path = /var/tmp
path = /var/spool/lpd/styluscolor880
#print command = /usr/bin/lpr -P %p -r %s
#print command = lpr -r -h -P %p %s
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
und auch ein auszug der log.
smbd version 3.0.4-SUSE started.
Copyright Andrew Tridgell and the Samba Team 1992-2004
[2004/06/12 19:16:00, 0] param/loadparm.c:lp_do_parameter(3132)
Global parameter printcap name found in service section!
[2004/06/12 19:16:00, 0] param/loadparm.c:lp_do_parameter(3132)
Global parameter load printers found in service section!
[2004/06/12 19:16:00, 0] printing/print_cups.c:cups_printer_fn(108)
Unable to connect to CUPS server localhost - Connection refused
[2004/06/12 19:16:07, 0] smbd/connection.c:register_message_flags(220)
register_message_flags: tdb_fetch failed
[2004/06/12 19:16:07, 0] smbd/connection.c:register_message_flags(220)
register_message_flags: tdb_fetch failed
[2004/06/12 19:16:07, 0] smbd/connection.c:register_message_flags(220)
register_message_flags: tdb_fetch failed
[2004/06/12 19:16:09, 0] smbd/connection.c:register_message_flags(220)
register_message_flags: tdb_fetch failed
[2004/06/12 19:16:39, 1] smbd/service.c:make_connection_snum(619)
192.168.0.2 (192.168.0.2) connect to service styluscolor880 initially as user nobody (uid=65534, gid=65533) (pid 3619)
[2004/06/12 19:16:50, 1] smbd/service.c:close_cnum(801)
192.168.0.2 (192.168.0.2) closed connection to service styluscolor880
[2004/06/12 19:16:52, 0] smbd/connection.c:register_message_flags(220)
register_message_flags: tdb_fetch failed
[2004/06/12 19:16:52, 0] smbd/connection.c:register_message_flags(220)
register_message_flags: tdb_fetch failed
[2004/06/12 19:16:52, 0] smbd/connection.c:register_message_flags(220)
register_message_flags: tdb_fetch failed
[2004/06/12 19:16:53, 0] smbd/connection.c:register_message_flags(220)
register_message_flags: tdb_fetch failed
[2004/06/12 19:17:23, 1] smbd/service.c:make_connection_snum(619)
192.168.0.2 (192.168.0.2) connect to service styluscolor880 initially as user nobody (uid=65534, gid=65533) (pid 3619)
[2004/06/12 19:17:28, 0] printing/print_cups.c:cups_printer_fn(108)
Unable to connect to CUPS server localhost - Connection refused
[2004/06/12 19:17:34, 1] smbd/service.c:close_cnum(801)
[2004/06/12 19:17:34, 0] lib/substitute.c:alloc_sub_basic(505)
alloc_sub_basic: NULL source string! This should not happen
192.168.0.2 (192.168.0.2) closed connection to service (null)
[2004/06/12 19:17:34, 0] lib/substitute.c:alloc_sub_basic(505)
alloc_sub_basic: NULL source string! This should not happen
[2004/06/12 19:17:34, 0] smbd/connection.c:yield_connection(76)
yield_connection: tdb_delete for name (null) failed with error Record does not exist.
[2004/06/12 19:18:57, 0] smbd/service.c:make_connection(771)
192.168.0.2 (192.168.0.2) couldn't find service styluscolor880
[2004/06/12 19:18:57, 0] smbd/service.c:make_connection(771)
192.168.0.2 (192.168.0.2) couldn't find service styluscolor880
[2004/06/12 19:18:57, 0] smbd/service.c:make_connection(771)
192.168.0.2 (192.168.0.2) couldn't find service styluscolor880
[2004/06/12 19:18:57, 0] smbd/service.c:make_connection(771)
192.168.0.2 (192.168.0.2) couldn't find service styluscolor880
nach mehrfachen rumexperimentieren mit der samba drcukfreigabe habe ich es endlich geschaftt das der drucker auch was ausdruckt... nur macht er das ganze auch nur 2 mal... der drucker wird ganz normal in der win xp netzwerkumgebung angezeigt... nach dem 2 maligen drucken verschwindet er aber von dort... starte ich samba neu... geht das ganze wieder 2 mal.
ich poste hier mal die smb.conf... und einen auszug der smb.log vom start des samba servers bis dahin wo er nix mehr ausdruckt....
[global]
workgroup = ARBEITSGRUPPE
security = share
printing = lprng
[root]
guest ok = yes
guest only = yes
path = /
read only = yes
writeable = true
[pool]
guest ok = yes
guest only = yes
path = /pool
read only = yes
writeable = true
[webserver]
guest ok = yes
guest only = yes
path = /webserver
read only = yes
writeable = true
[ftp]
guest ok = yes
guest only = yes
path = /ftp
read only = yes
writeable = true
#[printers]
#comment = All Printers
#path = /var/tmp
#printable = yes
#create mask = 066
#browsable = no
[printers]
printing = lprng
printable = Yes
#path = /var/tmp
path = /var/spool/lpd/styluscolor880
browseable = no
read only = no
guest ok = yes
use client driver = Yes
create mask = 0600
create mode = 0666
#hosts allow = 192.168.0.2
#hosts allow = 192.168.0.
printer name = styluscolor880
printcap name = /etc/printcap
load printers = Yes
#print command = /usr/bin/lpr -P %p -r %s
#lpq command = /usr/bin/lpq -P %p
#lprm command = /usr/bin/lprm/ -P %p %j
[styluscolor880]
printing = lprng
browsable = yes
printable = yes
writeable = yes
use client driver = Yes
create mask = 0600
create mode = 0666
public = yes
#path = /var/tmp
path = /var/spool/lpd/styluscolor880
#print command = /usr/bin/lpr -P %p -r %s
#print command = lpr -r -h -P %p %s
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
write list = @ntadmin root
force group = ntadmin
create mask = 0664
directory mask = 0775
und auch ein auszug der log.
smbd version 3.0.4-SUSE started.
Copyright Andrew Tridgell and the Samba Team 1992-2004
[2004/06/12 19:16:00, 0] param/loadparm.c:lp_do_parameter(3132)
Global parameter printcap name found in service section!
[2004/06/12 19:16:00, 0] param/loadparm.c:lp_do_parameter(3132)
Global parameter load printers found in service section!
[2004/06/12 19:16:00, 0] printing/print_cups.c:cups_printer_fn(108)
Unable to connect to CUPS server localhost - Connection refused
[2004/06/12 19:16:07, 0] smbd/connection.c:register_message_flags(220)
register_message_flags: tdb_fetch failed
[2004/06/12 19:16:07, 0] smbd/connection.c:register_message_flags(220)
register_message_flags: tdb_fetch failed
[2004/06/12 19:16:07, 0] smbd/connection.c:register_message_flags(220)
register_message_flags: tdb_fetch failed
[2004/06/12 19:16:09, 0] smbd/connection.c:register_message_flags(220)
register_message_flags: tdb_fetch failed
[2004/06/12 19:16:39, 1] smbd/service.c:make_connection_snum(619)
192.168.0.2 (192.168.0.2) connect to service styluscolor880 initially as user nobody (uid=65534, gid=65533) (pid 3619)
[2004/06/12 19:16:50, 1] smbd/service.c:close_cnum(801)
192.168.0.2 (192.168.0.2) closed connection to service styluscolor880
[2004/06/12 19:16:52, 0] smbd/connection.c:register_message_flags(220)
register_message_flags: tdb_fetch failed
[2004/06/12 19:16:52, 0] smbd/connection.c:register_message_flags(220)
register_message_flags: tdb_fetch failed
[2004/06/12 19:16:52, 0] smbd/connection.c:register_message_flags(220)
register_message_flags: tdb_fetch failed
[2004/06/12 19:16:53, 0] smbd/connection.c:register_message_flags(220)
register_message_flags: tdb_fetch failed
[2004/06/12 19:17:23, 1] smbd/service.c:make_connection_snum(619)
192.168.0.2 (192.168.0.2) connect to service styluscolor880 initially as user nobody (uid=65534, gid=65533) (pid 3619)
[2004/06/12 19:17:28, 0] printing/print_cups.c:cups_printer_fn(108)
Unable to connect to CUPS server localhost - Connection refused
[2004/06/12 19:17:34, 1] smbd/service.c:close_cnum(801)
[2004/06/12 19:17:34, 0] lib/substitute.c:alloc_sub_basic(505)
alloc_sub_basic: NULL source string! This should not happen
192.168.0.2 (192.168.0.2) closed connection to service (null)
[2004/06/12 19:17:34, 0] lib/substitute.c:alloc_sub_basic(505)
alloc_sub_basic: NULL source string! This should not happen
[2004/06/12 19:17:34, 0] smbd/connection.c:yield_connection(76)
yield_connection: tdb_delete for name (null) failed with error Record does not exist.
[2004/06/12 19:18:57, 0] smbd/service.c:make_connection(771)
192.168.0.2 (192.168.0.2) couldn't find service styluscolor880
[2004/06/12 19:18:57, 0] smbd/service.c:make_connection(771)
192.168.0.2 (192.168.0.2) couldn't find service styluscolor880
[2004/06/12 19:18:57, 0] smbd/service.c:make_connection(771)
192.168.0.2 (192.168.0.2) couldn't find service styluscolor880
[2004/06/12 19:18:57, 0] smbd/service.c:make_connection(771)
192.168.0.2 (192.168.0.2) couldn't find service styluscolor880