[Samba] Cannot print UPDATE

Pablo Jejcic pablo.jejcic at smartweb.rgu.ac.uk
Mon Mar 8 12:39:06 GMT 2004


OK, Now I manage to make it print. The only change I made was to disable
spoolss. So I added to the smb.conf the following line:

disable spoolss = yes

I'm not too sure if this is the best option, but the errors went away, and
the printers are working again. Nevertheless, I would like to know why using
spoolss the printers were not working.

Cheers!

Pablo.-

->-----Original Message-----
->From: 
->samba-bounces+pablo.jejcic=smartweb.rgu.ac.uk at lists.samba.org 
->[mailto:samba-bounces+pablo.jejcic=smartweb.rgu.ac.uk at lists.sa
->mba.org] On Behalf Of Pablo Jejcic
->Sent: 08 March 2004 11:57
->To: 'samba'
->Subject: [Samba] Cannot print
->
->
->Gurus,
->	I have a Solaris 9 server with Samba 2.2.8a installed 
->since December 02, working perfect. Last Friday I installed 
->the last patch cluster from Sun to the system (because of the 
->root vulnerability), and this morning when I came the 
->printers are not working trough samba. The shares and 
->authentication is working without problem, but the printers not.
->	If I try to see the preferences of a printers from a Windows XP
->(pro) machine I get:
->	"Printers properties cannot be displayed. Operation 
->could not be completed"
->
->Then, I didn't change anything on the smb.conf file, but here 
->is the relevant parts:
->
->load printers = yes
->printcap name = lpstat
->printing = bsd
->[printers]
->   comment = All Printers
->   path = /usr/spool/samba
->   browseable = no
->   public = yes
->   guest ok = yes
->   writable = no
->   printable = yes
->   use client driver = yes
->
->	Checking the logs, the only odd message related to 
->printers that I found is:
->
->[2004/03/08 11:38:06, 3] smbd/process.c:(685)
->  switch message SMBtrans (pid 27506)
->[2004/03/08 11:38:06, 4] smbd/uid.c:(119)
->  change_to_user: Skipping user change - already user 
->[2004/03/08 11:38:06, 3] smbd/ipc.c:(520)
->  trans <\PIPE\> data=44 params=0 setup=2
->[2004/03/08 11:38:06, 3] smbd/ipc.c:(334)
->  named pipe command on <> name
->[2004/03/08 11:38:06, 4] rpc_server/srv_pipe_hnd.c:(990)
->  search for pipe pnum=7069
->[2004/03/08 11:38:06, 3] smbd/ipc.c:(296)
->  Got API command 0x26 on pipe "spoolss" (pnum 
->7069)free_pipe_context: destroying talloc pool of size 0 
->[2004/03/08 11:38:06, 3] rpc_server/srv_pipe.c:(1165)
->  Doing \PIPE\spoolss
->[2004/03/08 11:38:06, 4] rpc_server/srv_pipe.c:(1190)
->  api_rpcTNP: api_spoolss_rpc op 0x1d - api_rpcTNP: pipe 
->28777 rpc command: SPOOLSS_CLOSEPRINTER [2004/03/08 11:38:06, 
->4] rpc_server/srv_lsa_hnd.c:(168)
->  Policy not found: [000] 00 00 00 00 03 00 00 00  00 00 00 
->00 1D 5B 4C 40 ........ .....[L@ [2004/03/08 11:38:06, 4] 
->lib/util.c:(1549)
->  [010] 72 6B 00 00                                       rk..
->[2004/03/08 11:38:06, 2] rpc_server/srv_spoolss_nt.c:(263)
->  find_printer_index_by_hnd: Printer handle not found: Policy 
->not found: [000] 00 00 00 00 03 00 00 00  00 00 00 00 1D 5B 
->4C 40  ........ .....[L@ [2004/03/08 11:38:06, 4] lib/util.c:(1549)
->  [010] 72 6B 00 00                                       rk..
->[2004/03/08 11:38:06, 2] rpc_server/srv_spoolss_nt.c:(263)
->  find_printer_index_by_hnd: Printer handle not found: 
->close_printer_handle: Invalid handle (OURS:27506:27506) 
->[2004/03/08 11:38:06, 4] rpc_server/srv_pipe.c:(1223)
->  api_rpcTNP: bad handle fault return.
->[2004/03/08 11:38:06, 3] rpc_server/srv_pipe_hnd.c:(444)
->  free_pipe_context: destroying talloc pool of size 0 
->[2004/03/08 11:38:06, 3] smbd/process.c:(846)
->  Transaction 38 of length 45
->[2004/03/08 11:38:06, 3] smbd/process.c:(685)
->  switch message SMBclose (pid 27506)
->[2004/03/08 11:38:06, 4] smbd/uid.c:(119)
->  change_to_user: Skipping user change - already user 
->[2004/03/08 11:38:06, 4] rpc_server/srv_pipe_hnd.c:(990)
->  search for pipe pnum=7069
->[2004/03/08 11:38:06, 4] rpc_server/srv_pipe_hnd.c:(954)
->  closed pipe name spoolss pnum=7069 (pipes_open=0)
->
->Any ideas? This is urgent for me, so I will appreciate any help.
->
->Thanks.-
->
->Pablo.-
->
->
->
->
->
->
->---
->Outgoing mail is certified Virus Free.
->Checked by AVG anti-virus system (http://www.grisoft.com).
->Version: 6.0.609 / Virus Database: 389 - Release Date: 03/03/2004
-> 
->
->-- 
->To unsubscribe from this list go to the following URL and read the
->instructions:  http://lists.samba.org/mailman/listinfo/samba
->
->---
->Incoming mail is certified Virus Free.
->Checked by AVG anti-virus system (http://www.grisoft.com).
->Version: 6.0.609 / Virus Database: 389 - Release Date: 03/03/2004
-> 
->

---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.609 / Virus Database: 389 - Release Date: 03/03/2004
 



More information about the samba mailing list