[Samba] printing situation in HEAD

Bradley W. Langhorst brad at langhorst.com
Wed Jun 5 16:25:02 GMT 2002


I'm trying to get driver uploading to work from 
win2k or winXP to 3.0a17 (head from today)

I had this working before but now i'm getting these wierd
out of memory errors on the clients when i try to get properties of the
shared printers.

When i open the printers and faxes folder on the server i get this in
the logs but no error message on the client

[2002/06/05 19:13:44, 3] smbd/service.c:find_service(142)
  checking for home directory ::{2227a280-3aea-1069-a2de-08002b30309d}
gave (NULL)
[2002/06/05 19:13:44, 3] smbd/service.c:find_service(157)
  checking whether ::{2227a280-3aea-1069-a2de-08002b30309d} is a valid
printer name...
[2002/06/05 19:13:44, 3] smbd/service.c:find_service(169)
  ::{2227a280-3aea-1069-a2de-08002b30309d} is not a valid printer name
[2002/06/05 19:13:44, 3] smbd/service.c:find_service(211)
  find_service() failed to find service
::{2227a280-3aea-1069-a2de-08002b30309d}
[2002/06/05 19:13:44, 0] smbd/service.c:make_connection(357)
  unh-os2a2pyg2y1 (132.177.45.13) couldn't find service
::{2227a280-3aea-1069-a2de-08002b30309d}
[2002/06/05 19:13:44, 3] smbd/error.c:error_packet(91)
  error string = Invalid argument

that 2227 number is a clsid that has something to do with printing in
the windows registry 

then when i try to get the properties of the printer i get
a spurious out of memory error on the client and this in the logs
[2002/06/05 19:17:27, 3] rpc_server/srv_pipe.c:api_rpcTNP(1165)
  api_rpcTNP: rpc command: SPOOLSS_OPENPRINTEREX
  checking name: \\Bitc\lab_nec1400
[2002/06/05 19:17:27, 3]
rpc_server/srv_spoolss_nt.c:set_printer_hnd_printertype(378)
  Setting printer type=\\Bitc\lab_nec1400
[2002/06/05 19:17:27, 3]
rpc_server/srv_pipe_hnd.c:free_pipe_context(520)
  free_pipe_context: destroying talloc pool of size 102
[2002/06/05 19:17:27, 3] smbd/process.c:process_smb(847)
  Transaction 1029 of length 144
[2002/06/05 19:17:27, 3] smbd/process.c:switch_message(658)
  switch message SMBtrans (pid 32449)
[2002/06/05 19:17:27, 3] smbd/ipc.c:reply_trans(471)
  trans <\PIPE\> data=56 params=0 setup=2
[2002/06/05 19:17:27, 3] smbd/ipc.c:named_pipe(326)
  named pipe command on <> name
[2002/06/05 19:17:27, 3] smbd/ipc.c:api_fd_reply(288)
  Got API command 0x26 on pipe "spoolss" (pnum 7464)free_pipe_context:
destroying talloc pool of size 0
[2002/06/05 19:17:27, 3] rpc_server/srv_pipe.c:api_pipe_request(1133)
  Doing \PIPE\spoolss
[2002/06/05 19:17:27, 3] rpc_server/srv_pipe.c:api_rpcTNP(1165)
  api_rpcTNP: rpc command: SPOOLSS_GETPRINTER
[2002/06/05 19:17:27, 3] printing/printing.c:print_cache_expired(862)
  print cache expired for queue lab_nec1400 (last_qscan_time = -1, time
now = 1023319047, qcachetime = 10)
[2002/06/05 19:17:27, 3]
rpc_server/srv_pipe_hnd.c:free_pipe_context(520)
  free_pipe_context: destroying talloc pool of size 8220
[2002/06/05 19:17:27, 3] smbd/process.c:process_smb(847)
  Transaction 1030 of length 132
[2002/06/05 19:17:27, 3] smbd/process.c:switch_message(658)
  switch message SMBtrans (pid 32449)
[2002/06/05 19:17:27, 3] smbd/ipc.c:reply_trans(471)
  trans <\PIPE\> data=44 params=0 setup=2
[2002/06/05 19:17:27, 3] smbd/ipc.c:named_pipe(326)
  named pipe command on <> name
[2002/06/05 19:17:27, 3] smbd/ipc.c:api_fd_reply(288)
  Got API command 0x26 on pipe "spoolss" (pnum 7464)free_pipe_context:
destroying talloc pool of size 0
[2002/06/05 19:17:27, 3] rpc_server/srv_pipe.c:api_pipe_request(1133)
  Doing \PIPE\spoolss
[2002/06/05 19:17:27, 3] rpc_server/srv_pipe.c:api_rpcTNP(1165)
  api_rpcTNP: rpc command: SPOOLSS_CLOSEPRINTER
[2002/06/05 19:17:27, 3] rpc_server/srv_lsa_hnd.c:close_policy_hnd(205)
  Closed policy
which looks normal...am i missing something obvious?
are the clients caching something? where?

ugh this whole printing bit is a mess...

thanks!

brad





More information about the samba mailing list