Time for showing Printer Information

Hansjoerg Maurer Hansjoerg.Maurer at dlr.de
Wed Aug 1 13:36:41 GMT 2001


Hi,

I have installed yesterdays 2.2 CVS (on solaris2.8)  and I recognized,
that it is now possible to set default settings and default document
properties .
(2.2.1.a  changed the default values when installing printers on the
client)
Great Work!

We have 12 printers connected to the samba server.
When I open the Printer Share from a NT client it takes about one minute
to show all printers.
Showing printer properties and updating the printer queue takes about 10
times longer the on our NT oer PC-Netlink server.

I have recognized, that samba querys each printer queue when opening the
printer share.
The first try to open the printer fails.

Do I have a broken configuration or is the "printer speed" a known
problem  and is there a solution?

I have attached my smb.conf an a log 3 during the time when opening a
printer.


Thank you very much.

I think we are close to switching to Samba as a printserver in our
production enviroment.

Hansjörg Maurer



#======================= Global Settings
=====================================
[global]

workgroup = NTROBOTIC
netbios name = regnitz
security = domain
password server = robpdc robpdc2
encrypt passwords = yes
hosts allow = 129.247.189. 129.247.181. 127.
server string = Samba Printer-Server

printing = BSD
printcap name = /etc/printcap
load printers = yes
printer admin = Administrator,root

log level = 3
log file = /usr/local/samba/var/log.%m
max log size = 5000

socket options = TCP_NODELAY

local master = no
os level = 33
domain master = no
preferred master = no
wins support = no
wins server = 129.247.189.234
dns proxy = no

print command = /bin/lpr  -o raw -P%p  %s;rm %s
lpq command   = /bin/lpq -P%p
lprm command  = /bin/lprm -P%p %j
#queuepause command = /usr/sbin/lpc -P%p stop
queuepause command = /usr/sbin/lpc -P%p start

[printers]
guest ok = no
printable = yes
#

[print$]
   path = /usr/local/samba/printers
   guest ok = no
   browseable = no
    writable = yes
   write list = Administrator,root


[2001/08/01 13:51:34, 3] smbd/process.c:process_smb(837)
  Transaction 485 of length 274
[2001/08/01 13:51:34, 3] smbd/process.c:switch_message(650)
  switch message SMBtrans (pid 1073)
[2001/08/01 13:51:34, 3] smbd/ipc.c:reply_trans(485)
  trans <\PIPE\> data=194 params=0 setup=2
[2001/08/01 13:51:34, 3] smbd/ipc.c:named_pipe(336)
  named pipe command on <> name
[2001/08/01 13:51:34, 3] smbd/ipc.c:api_fd_reply(298)
  Got API command 0x26 on pipe "spoolss" (pnum 703b)free_pipe_context:
destroying talloc pool of size 0
[2001/08/01 13:51:34, 3] rpc_server/srv_pipe.c:api_pipe_request(1163)
  Doing \PIPE\spoolss
[2001/08/01 13:51:34, 3] rpc_server/srv_pipe.c:api_rpcTNP(1195)
  api_rpcTNP: rpc command: SPOOLSS_OPENPRINTEREX
  checking name: \\REGNITZ\hp2500Cc
[2001/08/01 13:51:34, 3]
rpc_server/srv_spoolss_nt.c:set_printer_hnd_printertype(373)
  Setting printer type=\\REGNITZ\hp2500Cc
[2001/08/01 13:51:34, 3] lib/util_seaccess.c:se_access_check(239)
  se_access_check: user sid is
S-1-5-21-540581735-3488193252-3218061974-16480
[2001/08/01 13:51:34, 3] lib/util_seaccess.c:se_access_check(243)
  se_access_check: also S-1-5-21-540581735-3488193252-3218061974-1029
[2001/08/01 13:51:34, 3] lib/util_seaccess.c:se_access_check(243)
  se_access_check: also S-1-5-21-540581735-3488193252-3218061974-1401
[2001/08/01 13:51:34, 3] lib/util_seaccess.c:se_access_check(243)
  se_access_check: also S-1-1-0
[2001/08/01 13:51:34, 3] lib/util_seaccess.c:se_access_check(243)
  se_access_check: also S-1-5-2
[2001/08/01 13:51:34, 3] lib/util_seaccess.c:se_access_check(243)
  se_access_check: also S-1-5-11
[2001/08/01 13:51:34, 3]
rpc_server/srv_spoolss_nt.c:_spoolss_open_printer_ex(812)
  access DENIED for printer open
[2001/08/01 13:51:34, 3] rpc_server/srv_lsa_hnd.c:close_policy_hnd(186)
  Closed policy
[2001/08/01 13:51:34, 3]
rpc_server/srv_pipe_hnd.c:free_pipe_context(417)
  free_pipe_context: destroying talloc pool of size 2781
[2001/08/01 13:51:34, 3] smbd/process.c:process_smb(837)
  Transaction 486 of length 274
[2001/08/01 13:51:34, 3] smbd/process.c:switch_message(650)
  switch message SMBtrans (pid 1073)
[2001/08/01 13:51:34, 3] smbd/ipc.c:reply_trans(485)
  trans <\PIPE\> data=194 params=0 setup=2
[2001/08/01 13:51:34, 3] smbd/ipc.c:named_pipe(336)
  named pipe command on <> name
[2001/08/01 13:51:34, 3] smbd/ipc.c:api_fd_reply(298)
  Got API command 0x26 on pipe "spoolss" (pnum 703b)free_pipe_context:
destroying talloc pool of size 0
[2001/08/01 13:51:34, 3] rpc_server/srv_pipe.c:api_pipe_request(1163)
  Doing \PIPE\spoolss
[2001/08/01 13:51:34, 3] rpc_server/srv_pipe.c:api_rpcTNP(1195)
  api_rpcTNP: rpc command: SPOOLSS_OPENPRINTEREX
  checking name: \\REGNITZ\hp2500Cc
[2001/08/01 13:51:34, 3]
rpc_server/srv_spoolss_nt.c:set_printer_hnd_printertype(373)
  Setting printer type=\\REGNITZ\hp2500Cc
[2001/08/01 13:51:34, 3] lib/util_seaccess.c:se_access_check(239)
  se_access_check: user sid is
S-1-5-21-540581735-3488193252-3218061974-16480
[2001/08/01 13:51:34, 3] lib/util_seaccess.c:se_access_check(243)
  se_access_check: also S-1-5-21-540581735-3488193252-3218061974-1029
[2001/08/01 13:51:34, 3] lib/util_seaccess.c:se_access_check(243)
  se_access_check: also S-1-5-21-540581735-3488193252-3218061974-1401
[2001/08/01 13:51:34, 3] lib/util_seaccess.c:se_access_check(243)
  se_access_check: also S-1-1-0
[2001/08/01 13:51:34, 3] lib/util_seaccess.c:se_access_check(243)
  se_access_check: also S-1-5-2
[2001/08/01 13:51:34, 3] lib/util_seaccess.c:se_access_check(243)
  se_access_check: also S-1-5-11
[2001/08/01 13:51:34, 3]
rpc_server/srv_pipe_hnd.c:free_pipe_context(417)
  free_pipe_context: destroying talloc pool of size 2781
[2001/08/01 13:51:34, 3] smbd/process.c:process_smb(837)
  Transaction 487 of length 1304
[2001/08/01 13:51:34, 3] smbd/process.c:switch_message(650)
  switch message SMBtrans (pid 1073)
[2001/08/01 13:51:34, 3] smbd/ipc.c:reply_trans(485)
  trans <\PIPE\> data=1224 params=0 setup=2
[2001/08/01 13:51:34, 3] smbd/ipc.c:named_pipe(336)
  named pipe command on <> name
[2001/08/01 13:51:34, 3] smbd/ipc.c:api_fd_reply(298)
  Got API command 0x26 on pipe "spoolss" (pnum 703b)free_pipe_context:
destroying talloc pool of size 0
[2001/08/01 13:51:34, 3] rpc_server/srv_pipe.c:api_pipe_request(1163)
  Doing \PIPE\spoolss
[2001/08/01 13:51:34, 3] rpc_server/srv_pipe.c:api_rpcTNP(1195)
  api_rpcTNP: rpc command: SPOOLSS_GETPRINTER
[2001/08/01 13:51:34, 3] printing/printing.c:print_cache_expired(758)
  print cache expired






[2001/08/01 13:51:37, 3] printing/print_generic.c:print_run_command(90)
  Running the command `/bin/lpq -Php2500Cc' gave 0
[2001/08/01 13:51:37, 3] printing/printing.c:print_queue_update(392)
  0 jobs in queue for hp2500Cc
[2001/08/01 13:51:37, 3]
rpc_server/srv_pipe_hnd.c:free_pipe_context(417)
  free_pipe_context: destroying talloc pool of size 1664
[2001/08/01 13:51:37, 3] smbd/process.c:process_smb(837)
  Transaction 488 of length 96
[2001/08/01 13:51:37, 3] smbd/process.c:switch_message(650)
  switch message SMBntcreateX (pid 1073)
[2001/08/01 13:51:37, 3] smbd/nttrans.c:nt_open_pipe(621)
  nt_open_pipe: Known pipe spoolss opening.
[2001/08/01 13:51:37, 3] smbd/process.c:process_smb(837)
  Transaction 489 of length 64
[2001/08/01 13:51:37, 3] smbd/process.c:switch_message(650)
  switch message SMBreadX (pid 1073)
[2001/08/01 13:51:37, 3] smbd/pipes.c:reply_pipe_read_and_X(241)
  readX-IPC pnum=703b min=180 max=180 nread=180
[2001/08/01 13:51:37, 3] smbd/process.c:process_smb(837)
  Transaction 490 of length 152
[2001/08/01 13:51:37, 3] smbd/process.c:switch_message(650)
  switch message SMBtrans (pid 1073)
[2001/08/01 13:51:37, 3] smbd/ipc.c:reply_trans(485)
  trans <\PIPE\> data=72 params=0 setup=2
[2001/08/01 13:51:37, 3] smbd/ipc.c:named_pipe(336)
  named pipe command on <> name
[2001/08/01 13:51:37, 3] smbd/ipc.c:api_fd_reply(298)
  Got API command 0x26 on pipe "spoolss" (pnum 703c)api_pipe_bind_req:
\PIPE\spoolss -> \PIPE\spoolss
[2001/08/01 13:51:37, 3] smbd/process.c:process_smb(837)
  Transaction 491 of length 276
[2001/08/01 13:51:37, 3] smbd/process.c:switch_message(650)
  switch message SMBtrans (pid 1073)
[2001/08/01 13:51:37, 3] smbd/ipc.c:reply_trans(485)
  trans <\PIPE\> data=196 params=0 setup=2
[2001/08/01 13:51:37, 3] smbd/ipc.c:named_pipe(336)
  named pipe command on <> name
[2001/08/01 13:51:37, 3] smbd/ipc.c:api_fd_reply(298)
  Got API command 0x26 on pipe "spoolss" (pnum 703c)free_pipe_context:
destroying talloc pool of size 0
[2001/08/01 13:51:37, 3] rpc_server/srv_pipe.c:api_pipe_request(1163)
  Doing \PIPE\spoolss
[2001/08/01 13:51:37, 3] rpc_server/srv_pipe.c:api_rpcTNP(1195)
  api_rpcTNP: rpc command: SPOOLSS_RFFPCNEX
[2001/08/01 13:51:37, 3]
rpc_server/srv_pipe_hnd.c:free_pipe_context(417)
  free_pipe_context: destroying talloc pool of size 706
[2001/08/01 13:51:37, 3] smbd/process.c:process_smb(837)
  Transaction 492 of length 148
[2001/08/01 13:51:37, 3] smbd/process.c:switch_message(650)
  switch message SMBtrans (pid 1073)
[2001/08/01 13:51:37, 3] smbd/ipc.c:reply_trans(485)
  trans <\PIPE\> data=68 params=0 setup=2
[2001/08/01 13:51:37, 3] smbd/ipc.c:named_pipe(336)
  named pipe command on <> name
[2001/08/01 13:51:37, 3] smbd/ipc.c:api_fd_reply(298)
  Got API command 0x26 on pipe "spoolss" (pnum 703b)free_pipe_context:
destroying talloc pool of size 0
[2001/08/01 13:51:37, 3] rpc_server/srv_pipe.c:api_pipe_request(1163)
  Doing \PIPE\spoolss
[2001/08/01 13:51:37, 3] rpc_server/srv_pipe.c:api_rpcTNP(1195)
  api_rpcTNP: rpc command: SPOOLSS_RFNPCNEX
[2001/08/01 13:51:37, 3]
rpc_server/srv_pipe_hnd.c:free_pipe_context(417)
  free_pipe_context: destroying talloc pool of size 1238



--
_________________________________________________________________

Dr.  Hansjoerg Maurer           | LAN- & System-Manager
                                |
Deutsches Zentrum               | DLR Oberpfaffenhofen
  f. Luft- und Raumfahrt e.V.   |
Institut f. Robotik             |
Postfach 1116                   | Muenchner Strasse 20
82230 Wessling                  | 82234 Wessling
Germany                         |
                                |
Tel: 08153/28-2431              | E-mail: maurer at robotic.dlr.de
Fax: 08153/28-1134              | WWW: http://www.robotic.dlr.de/
__________________________________________________________________







More information about the samba-technical mailing list