[Samba] RE: Print Migrator help needed...

Aarti Varshney (asadhnan) asadhnan at cisco.com
Thu Jan 26 19:31:58 GMT 2006


 
This snippet from the error log: Looks like something is timing out...
Anyone knows how to increase the timeout?
 
Thanks in advance.
Aarti.
 
 
[2006/01/26 19:29:22, 3] smbd/ipc.c:reply_trans(538)
  trans <\PIPE\> data=544 params=0 setup=2
[2006/01/26 19:29:22, 3] smbd/ipc.c:named_pipe(334)
  named pipe command on <> name
[2006/01/26 19:29:22, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(1169)
  search for pipe pnum=7435
[2006/01/26 19:29:22, 3] smbd/ipc.c:api_fd_reply(294)
  Got API command 0x26 on pipe "spoolss" (pnum 7435)
[2006/01/26 19:29:22, 3]
rpc_server/srv_pipe_hnd.c:free_pipe_context(542)
  free_pipe_context: destroying talloc pool of size 0
[2006/01/26 19:29:22, 4] rpc_server/srv_pipe.c:api_rpcTNP(1543)
  api_rpcTNP: spoolss op 0x0 - api_rpcTNP: rpc command:
SPOOLSS_ENUMPRINTERS
[2006/01/26 19:29:22, 4]
rpc_server/srv_spoolss_nt.c:_spoolss_enumprinters(4724)
  _spoolss_enumprinters
[2006/01/26 19:29:22, 4]
rpc_server/srv_spoolss_nt.c:enum_all_printers_info_1_local(4450)
  enum_all_printers_info_1_local
[2006/01/26 19:29:22, 4]
rpc_server/srv_spoolss_nt.c:enum_all_printers_info_1(4393)
  enum_all_printers_info_1
[2006/01/26 19:29:22, 4]
rpc_server/srv_spoolss_nt.c:enum_all_printers_info_1(4397)
  Found a printer in smb.conf: testPrintQueue[4]
[2006/01/26 19:29:22, 4]
rpc_server/srv_spoolss_nt.c:enum_all_printers_info_1(4407)
  ReAlloced memory for [0] PRINTER_INFO_1
[2006/01/26 19:29:22, 4]
rpc_server/srv_spoolss_nt.c:enum_all_printers_info_1(4397)
  Found a printer in smb.conf: printQueue1[5]
[2006/01/26 19:29:22, 4]
rpc_server/srv_spoolss_nt.c:enum_all_printers_info_1(4407)
  ReAlloced memory for [1] PRINTER_INFO_1
[2006/01/26 19:29:22, 4]
rpc_server/srv_spoolss_nt.c:enum_all_printers_info_1(4397)
  Found a printer in smb.conf: HPLaserJ[6]
[2006/01/26 19:29:22, 4]
rpc_server/srv_spoolss_nt.c:enum_all_printers_info_1(4407)
  ReAlloced memory for [2] PRINTER_INFO_1
[2006/01/26 19:29:22, 3]
rpc_server/srv_pipe_hnd.c:free_pipe_context(542)
  free_pipe_context: destroying talloc pool of size 3100
[2006/01/26 19:29:22, 3] smbd/process.c:process_smb(1114)
  Transaction 15 of length 45
[2006/01/26 19:29:22, 3] smbd/process.c:switch_message(900)
  switch message SMBclose (pid 14118) conn 0x83ec6c8
[2006/01/26 19:29:22, 4] smbd/uid.c:change_to_user(217)
  change_to_user: Skipping user change - already user
[2006/01/26 19:29:22, 4] rpc_server/srv_pipe_hnd.c:get_rpc_pipe(1169)
  search for pipe pnum=7435
[2006/01/26 19:29:22, 4]
rpc_server/srv_pipe_hnd.c:close_rpc_pipe_hnd(1081)
  closed pipe name spoolss pnum=7435 (pipes_open=0)
[2006/01/26 19:29:22, 3] smbd/process.c:process_smb(1114)
  Transaction 16 of length 39
[2006/01/26 19:29:22, 3] smbd/process.c:switch_message(900)
  switch message SMBtdis (pid 14118) conn 0x83ec6c8
[2006/01/26 19:29:22, 3] smbd/sec_ctx.c:set_sec_ctx(287)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/01/26 19:29:22, 3] smbd/sec_ctx.c:set_sec_ctx(287)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2006/01/26 19:29:22, 3] smbd/service.c:close_cnum(833)
  bd-s6 (10.86.41.170) closed connection to service IPC$
[2006/01/26 19:29:22, 3] smbd/connection.c:yield_connection(69)
  Yielding connection to IPC$
[2006/01/26 19:29:22, 4] smbd/vfs.c:vfs_ChDir(737)
  vfs_ChDir to /
[2006/01/26 19:29:22, 3] smbd/sec_ctx.c:set_sec_ctx(287)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
 >>>>>>>>>>>>>>>>>> [2006/01/26 19:29:22, 3]
smbd/process.c:timeout_processing(1366)
 >>>>>>>>>>>>>>>>>>  timeout_processing: End of file from client (client
has disconnected).


 
________________________________

From: Aarti Varshney (asadhnan) 
Sent: Wednesday, January 25, 2006 3:45 PM
To: 'samba at lists.samba.org'
Subject: Print Migrator help needed...


Hi,
 
I am trying to migrate print queues from a windows server to a samba
share.
1. I ran printmig.exe on the windows server. 
2. Backed up the printers on the windows servers to a cab file.
3. Tries to restore the printers to the sambashare by specifying the
target as //sambaShare.
But I get the following error: 
 
2006:01:25 15:35:38   Access Granted to: \\sambaShare
2006:01:25 15:35:38   Couldn't start the target spooler
2006:01:25 15:35:38   Remote Tree View Failed
 
How do I starter the target spooler?
Do I need some config in smb.conf?
In smb.conf I have a addprinter command.
 
Thanks,
Aarti.
 

________________________________

From: Aarti Varshney (asadhnan) 
Sent: Monday, January 23, 2006 2:55 PM
To: 'samba at lists.samba.org'
Subject: guest account security = domain doesn't work...


Hi,
 
my security is domain, i would like to map users who fail authentication
to be
mapped to a guest account so they can access printers.

My conf file looks like this:
[global]
        workgroup = LAB2000DOMAIN2
        security = DOMAIN
        client schannel = No
        map to guest = Bad Password
        password server = 10.86.32.27
        log level = 4 passdb:5 auth:10 winbind:4
        log file = /local/local1/errorlog/samba.log
        max log size = 50
        smb ports = 50139
        lpq cache time = 0
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
        printcap name = cups
        preferred master = No
        local master = No
        domain master = No
        dns proxy = No
        wins server = 10.86.32.27
        idmap uid = 70000-200000
        idmap gid = 70000-200000
        template homedir = /local/local1/
        template shell = /admin-shell
        winbind cache time = 10
        winbind use default domain = Yes
        printer admin = @cupsAdmin
        cups options = "raw"
        force printername = Yes

[print$]
        path = /state/samba/printers
        write list = @cupsAdmin
        force user = root
        force group = root
        guest ok = Yes

[printers]
        comment = All Printers
        path = /local/local1/spool/samba
        guest ok = Yes
        printable = Yes
        browseable = No
But this does not work.
Any ideas?
Would greatly apreciate your help.
Thanks,
Aarti.


More information about the samba mailing list