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@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.
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@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@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.
Gerald (Jerry) Carter wrote:> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Aarti Varshney (asadhnan) wrote: >> >> This snippet from the error log: Looks like something is timing >> out... Anyone knows how to increase the timeout? > > Aarti, > > I don't think it's a timeout issue. I think the client is just > disconnecting due to the failed access check. ...Both Arti and I can successfully individually add printers from windows clients. But in my case the spooler thing doesn't seem to exist.>> 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 .... > > You can use the "Manage you computer" mmc plugin against the Samba > box to test starting/stopping the internal spooler server (nothing to > do with cups). to debug the access checks.On a debian Sarge box this is what I get in the log for the machine connected from after using the mmc plugin: sh: line 1: /usr/lib/samba/svcctl/NETLOGON: No such file or directory sh: line 1: /usr/lib/samba/svcctl/Spooler: No such file or directory sh: line 1: /usr/lib/samba/svcctl/Spooler: No such file or directory It looks like the samba packages for Debian don't set it up: # ls /usr/lib/samba/ idmap vfs Should the Debian package set it up for me? Should I log another bug for Simo to look at?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Geoffrey Scott wrote:> On a debian Sarge box this is what I get in the log for the machine > connected from after using the mmc plugin: > > sh: line 1: /usr/lib/samba/svcctl/NETLOGON: No such file or directory > sh: line 1: /usr/lib/samba/svcctl/Spooler: No such file or directory > sh: line 1: /usr/lib/samba/svcctl/Spooler: No such file or directoryThe spooler and NETLOGON services are internal. smbd should not be shelling out to manage them. What version are you running (sorry I forgot)? * jerry tests 3.0.21b.... Arrggg....ok. I think I see what the deal is. Can you send me a level 10 debug file from smbd that contains the failure? Thanks. SOrry about this. cheers, jerry ====================================================================I live in a Reply-to-All world ----------------------- Samba ------- http://www.samba.org Centeris ----------- http://www.centeris.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD4LgyIR7qMdg1EfYRAgqmAKDHg/5t7V6XW46WeVnhPhIj+FGl0QCeNdj0 dp98IvZckwbxmYrZI3rbM7E=T/1c -----END PGP SIGNATURE-----
Hi Jerry, I am using samba 3.020 and I have applied the patch http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&rev=12174 Attached are the logs with log level 10. Thanks, Aarti. -----Original Message----- From: Gerald (Jerry) Carter [mailto:jerry@samba.org] Sent: Wednesday, February 01, 2006 8:32 AM To: Geoffrey Scott Cc: Aarti Varshney (asadhnan); samba@lists.samba.org Subject: Re: [Samba] RE: Print Migrator help needed... -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Geoffrey Scott wrote:> On a debian Sarge box this is what I get in the log for the machine > connected from after using the mmc plugin: > > sh: line 1: /usr/lib/samba/svcctl/NETLOGON: No such file or directory > sh: line 1: /usr/lib/samba/svcctl/Spooler: No such file or directory > sh: line 1: /usr/lib/samba/svcctl/Spooler: No such file or directoryThe spooler and NETLOGON services are internal. smbd should not be shelling out to manage them. What version are you running (sorry I forgot)? * jerry tests 3.0.21b.... Arrggg....ok. I think I see what the deal is. Can you send me a level 10 debug file from smbd that contains the failure? Thanks. SOrry about this. cheers, jerry ====================================================================I live in a Reply-to-All world ----------------------- Samba ------- http://www.samba.org Centeris ----------- http://www.centeris.com -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (MingW32) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD4LgyIR7qMdg1EfYRAgqmAKDHg/5t7V6XW46WeVnhPhIj+FGl0QCeNdj0 dp98IvZckwbxmYrZI3rbM7E=T/1c -----END PGP SIGNATURE-----
Thanks Jerry, after I applied this patch I can now migrate print queues successfully. But I am still having trouble migrating drivers. In the log file I am seeing this error message: 2006:02:15 12:17:57 Driver "HP LaserJet 5MP": the file UNIDRV.DLL is missing from the CAB 2006:02:15 12:17:57 Driver "HP LaserJet 5MP": the file HPLJ5MP.GPD is missing from the CAB 2006:02:15 12:17:57 Driver "HP LaserJet 5MP": the file UNIDRVUI.DLL is missing from the CAB 2006:02:15 12:17:57 Driver "HP LaserJet 5MP": the file UNIDRV.HLP is missing from the CAB 2006:02:15 12:17:57 Driver "HP LaserJet 5MP": the file PCL5ERES.DLL is missing from the CAB 2006:02:15 12:17:57 Driver "HP LaserJet 5MP": the file TTFSUB.GPD is missing from the CAB 2006:02:15 12:17:57 Driver "HP LaserJet 5MP": the file UNIRES.DLL is missing from the CAB 2006:02:15 12:17:57 Driver "HP LaserJet 5MP": the file STDNAMES.GPD is missing from the CAB 2006:02:15 12:17:58 Bad version 3 driver: HP LaserJet 5MP 2006:02:15 12:17:58 winerror.h - 2 Any idea how to fix this. Thanks, Aarti. -----Original Message----- From: Gerald (Jerry) Carter [mailto:jerry@samba.org] Sent: Wednesday, February 08, 2006 10:07 AM To: Geoffrey Scott Cc: samba@lists.samba.org; Aarti Varshney (asadhnan) Subject: Re: [Samba] RE: Print Migrator help needed... -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gerald (Jerry) Carter wrote:> Gerald (Jerry) Carter wrote: >>> Geoffrey Scott wrote: >>> >>>>> On a debian Sarge box this is what I get in the log for the >>>>> machine connected from after using the mmc plugin: >>>>> >>>>> sh: line 1: /usr/lib/samba/svcctl/NETLOGON: No such file or >>>>> directory >>>>> sh: line 1: /usr/lib/samba/svcctl/Spooler: No such file or >>>>> directory >>>>> sh: line 1: /usr/lib/samba/svcctl/Spooler: No such file or >>>>> directory >>> >>> I can't reproduce this failure anymore. I have you log files but I >>> need your smb.conf. > > Ahhh....ok. Apparently, there's a bug when you don't list any > external services in smb.conf. Patch forthcoming.And here's the patch. Some older code that didn't get removed during the latest rewrite. cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD6gkNIR7qMdg1EfYRAvAnAJ9KVqfkhTioqy6qu1zDe3bf4SSiRACguib5 kEHh8BfbiPq4Xem8RPmPr3M=HsN2 -----END PGP SIGNATURE-----
Hi Jerry, I cannot get drivers to migrate using the printmig.exe tool. Please see the samba log with log level of 3. w2k3-dc (192.168.1.13) closed connection to service print$ [2006/02/17 19:20:20, 1] smbd/service.c:make_connection_snum(662) w2k3-dc (192.168.1.13) connect to service print$ initially as user root (uid=0, gid=0) (pid 25564) [2006/02/17 19:20:20, 1] smbd/service.c:close_cnum(833) w2k3-dc (192.168.1.13) closed connection to service print$ [2006/02/17 19:20:20, 1] smbd/service.c:make_connection_snum(662) w2k3-dc (192.168.1.13) connect to service print$ initially as user root (uid=0, gid=0) (pid 25564) [2006/02/17 19:20:20, 0] printing/nt_printing.c:move_driver_to_download_area(1811) move_driver_to_download_area: Unable to rename [W32X86/BUPM815.GPD] to [W32X86/3/BUPM815.GPD] [2006/02/17 19:20:20, 1] smbd/service.c:close_cnum(833) w2k3-dc (192.168.1.13) closed connection to service print$ [2006/02/17 19:20:31, 1] smbd/service.c:make_connection_snum(662) w2k3-dc (192.168.1.13) connect to service print$ initially as user root (uid=0, gid=0) (pid 25564) [2006/02/17 19:20:31, 1] smbd/service.c:close_cnum(833) w2k3-dc (192.168.1.13) closed connection to service print$ [2006/02/17 19:20:31, 1] smbd/service.c:make_connection_snum(662) w2k3-dc (192.168.1.13) connect to service print$ initially as user root (uid=0, gid=0) (pid 25564) [2006/02/17 19:20:31, 0] printing/nt_printing.c:move_driver_to_download_area(1811) move_driver_to_download_area: Unable to rename [W32X86/CI8510.GPD] to [W32X86/3/CI8510.GPD] [2006/02/17 19:20:31, 1] smbd/service.c:close_cnum(833) w2k3-dc (192.168.1.13) closed connection to service print$ [2006/02/17 19:20:58, 1] smbd/service.c:make_connection_snum(662) w2k3-dc (192.168.1.13) connect to service print$ initially as user root (uid=0, gid=0) (pid 25564) [2006/02/17 19:20:58, 1] smbd/service.c:close_cnum(833) w2k3-dc (192.168.1.13) closed connection to service print$ [2006/02/17 19:20:58, 1] smbd/service.c:make_connection_snum(662) w2k3-dc (192.168.1.13) connect to service print$ initially as user root (uid=0, gid=0) (pid 25564) [2006/02/17 19:20:58, 0] printing/nt_printing.c:move_driver_to_download_area(1811) move_driver_to_download_area: Unable to rename [W32X86/CNBJ20.GPD] to [W32X86/3/CNBJ20.GPD] -----Original Message----- From: Gerald (Jerry) Carter [mailto:jerry@samba.org] Sent: Wednesday, February 08, 2006 10:07 AM To: Geoffrey Scott Cc: samba@lists.samba.org; Aarti Varshney (asadhnan) Subject: Re: [Samba] RE: Print Migrator help needed... -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gerald (Jerry) Carter wrote:> Gerald (Jerry) Carter wrote: >>> Geoffrey Scott wrote: >>> >>>>> On a debian Sarge box this is what I get in the log for the >>>>> machine connected from after using the mmc plugin: >>>>> >>>>> sh: line 1: /usr/lib/samba/svcctl/NETLOGON: No such file or >>>>> directory >>>>> sh: line 1: /usr/lib/samba/svcctl/Spooler: No such file or >>>>> directory >>>>> sh: line 1: /usr/lib/samba/svcctl/Spooler: No such file or >>>>> directory >>> >>> I can't reproduce this failure anymore. I have you log files but I >>> need your smb.conf. > > Ahhh....ok. Apparently, there's a bug when you don't list any > external services in smb.conf. Patch forthcoming.And here's the patch. Some older code that didn't get removed during the latest rewrite. cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD6gkNIR7qMdg1EfYRAvAnAJ9KVqfkhTioqy6qu1zDe3bf4SSiRACguib5 kEHh8BfbiPq4Xem8RPmPr3M=HsN2 -----END PGP SIGNATURE-----
Hi Jerry, At debug level 4 I am seeing these errors while migrating drivers to samba server from windows server. [2006/02/21 19:48:14, 3] smbd/process.c:switch_message(900) switch message SMBntcreateX (pid 11413) conn 0x83f00f0 [2006/02/21 19:48:14, 3] smbd/sec_ctx.c:set_sec_ctx(287) setting sec ctx (70001, 70001) - sec_ctx_stack_ndx = 0 [2006/02/21 19:48:14, 4] smbd/nttrans.c:nt_open_pipe(330) nt_open_pipe: Opening pipe \system32\spool\drivers\W32X86\PSCRIPT5.DLL. [2006/02/21 19:48:14, 3] smbd/error.c:error_packet(143) error packet at smbd/nttrans.c(345) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_NOT_FOUND [2006/02/21 19:48:14, 3] smbd/process.c:process_smb(1114) Transaction 3400 of length 176 [2006/02/21 19:48:14, 3] smbd/process.c:switch_message(900) switch message SMBntcreateX (pid 11413) conn 0x83f00f0 [2006/02/21 19:48:14, 4] smbd/uid.c:change_to_user(217) change_to_user: Skipping user change - already user [2006/02/21 19:48:14, 4] smbd/nttrans.c:nt_open_pipe(330) nt_open_pipe: Opening pipe \system32\spool\drivers\W32X86\APLWBGR1.PPD. [2006/02/21 19:48:14, 3] smbd/error.c:error_packet(143) error packet at smbd/nttrans.c(345) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_NOT_FOUND [2006/02/21 19:48:14, 3] smbd/process.c:process_smb(1114) Transaction 3401 of length 170 [2006/02/21 19:48:14, 3] smbd/process.c:switch_message(900) switch message SMBntcreateX (pid 11413) conn 0x83f00f0 [2006/02/21 19:48:14, 4] smbd/uid.c:change_to_user(217) change_to_user: Skipping user change - already user [2006/02/21 19:48:14, 4] smbd/nttrans.c:nt_open_pipe(330) nt_open_pipe: Opening pipe \system32\spool\drivers\W32X86\PS5UI.DLL. [2006/02/21 19:48:14, 3] smbd/error.c:error_packet(143) error packet at smbd/nttrans.c(345) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_NOT_FOUND [2006/02/21 19:48:14, 3] smbd/process.c:process_smb(1114) Transaction 3402 of length 174 [2006/02/21 19:48:14, 3] smbd/process.c:switch_message(900) switch message SMBntcreateX (pid 11413) conn 0x83f00f0 [2006/02/21 19:48:14, 4] smbd/uid.c:change_to_user(217) change_to_user: Skipping user change - already user [2006/02/21 19:48:14, 4] smbd/nttrans.c:nt_open_pipe(330) nt_open_pipe: Opening pipe \system32\spool\drivers\W32X86\PSCRIPT.HLP. [2006/02/21 19:48:14, 3] smbd/error.c:error_packet(143) error packet at smbd/nttrans.c(345) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_NOT_FOUND [2006/02/21 19:48:14, 3] smbd/process.c:process_smb(1114) Transaction 3403 of length 174 [2006/02/21 19:48:14, 3] smbd/process.c:switch_message(900) switch message SMBntcreateX (pid 11413) conn 0x83f00f0 [2006/02/21 19:48:14, 4] smbd/uid.c:change_to_user(217) change_to_user: Skipping user change - already user [2006/02/21 19:48:14, 4] smbd/nttrans.c:nt_open_pipe(330) nt_open_pipe: Opening pipe \system32\spool\drivers\W32X86\PSCRIPT.NTF. [2006/02/21 19:48:14, 3] smbd/error.c:error_packet(143) error packet at smbd/nttrans.c(345) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_NAME_NOT_FOUND Any idea how to fix these. Thanks, Aarti. -----Original Message----- From: Aarti Varshney (asadhnan) Sent: Friday, February 17, 2006 2:34 PM To: 'Gerald (Jerry) Carter' Cc: samba@lists.samba.org Subject: RE: [Samba] RE: Print Migrator help needed... Hi Jerry, I cannot get drivers to migrate using the printmig.exe tool. Please see the samba log with log level of 3. w2k3-dc (192.168.1.13) closed connection to service print$ [2006/02/17 19:20:20, 1] smbd/service.c:make_connection_snum(662) w2k3-dc (192.168.1.13) connect to service print$ initially as user root (uid=0, gid=0) (pid 25564) [2006/02/17 19:20:20, 1] smbd/service.c:close_cnum(833) w2k3-dc (192.168.1.13) closed connection to service print$ [2006/02/17 19:20:20, 1] smbd/service.c:make_connection_snum(662) w2k3-dc (192.168.1.13) connect to service print$ initially as user root (uid=0, gid=0) (pid 25564) [2006/02/17 19:20:20, 0] printing/nt_printing.c:move_driver_to_download_area(1811) move_driver_to_download_area: Unable to rename [W32X86/BUPM815.GPD] to [W32X86/3/BUPM815.GPD] [2006/02/17 19:20:20, 1] smbd/service.c:close_cnum(833) w2k3-dc (192.168.1.13) closed connection to service print$ [2006/02/17 19:20:31, 1] smbd/service.c:make_connection_snum(662) w2k3-dc (192.168.1.13) connect to service print$ initially as user root (uid=0, gid=0) (pid 25564) [2006/02/17 19:20:31, 1] smbd/service.c:close_cnum(833) w2k3-dc (192.168.1.13) closed connection to service print$ [2006/02/17 19:20:31, 1] smbd/service.c:make_connection_snum(662) w2k3-dc (192.168.1.13) connect to service print$ initially as user root (uid=0, gid=0) (pid 25564) [2006/02/17 19:20:31, 0] printing/nt_printing.c:move_driver_to_download_area(1811) move_driver_to_download_area: Unable to rename [W32X86/CI8510.GPD] to [W32X86/3/CI8510.GPD] [2006/02/17 19:20:31, 1] smbd/service.c:close_cnum(833) w2k3-dc (192.168.1.13) closed connection to service print$ [2006/02/17 19:20:58, 1] smbd/service.c:make_connection_snum(662) w2k3-dc (192.168.1.13) connect to service print$ initially as user root (uid=0, gid=0) (pid 25564) [2006/02/17 19:20:58, 1] smbd/service.c:close_cnum(833) w2k3-dc (192.168.1.13) closed connection to service print$ [2006/02/17 19:20:58, 1] smbd/service.c:make_connection_snum(662) w2k3-dc (192.168.1.13) connect to service print$ initially as user root (uid=0, gid=0) (pid 25564) [2006/02/17 19:20:58, 0] printing/nt_printing.c:move_driver_to_download_area(1811) move_driver_to_download_area: Unable to rename [W32X86/CNBJ20.GPD] to [W32X86/3/CNBJ20.GPD] -----Original Message----- From: Gerald (Jerry) Carter [mailto:jerry@samba.org] Sent: Wednesday, February 08, 2006 10:07 AM To: Geoffrey Scott Cc: samba@lists.samba.org; Aarti Varshney (asadhnan) Subject: Re: [Samba] RE: Print Migrator help needed... -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Gerald (Jerry) Carter wrote:> Gerald (Jerry) Carter wrote: >>> Geoffrey Scott wrote: >>> >>>>> On a debian Sarge box this is what I get in the log for the >>>>> machine connected from after using the mmc plugin: >>>>> >>>>> sh: line 1: /usr/lib/samba/svcctl/NETLOGON: No such file or >>>>> directory >>>>> sh: line 1: /usr/lib/samba/svcctl/Spooler: No such file or >>>>> directory >>>>> sh: line 1: /usr/lib/samba/svcctl/Spooler: No such file or >>>>> directory >>> >>> I can't reproduce this failure anymore. I have you log files but I >>> need your smb.conf. > > Ahhh....ok. Apparently, there's a bug when you don't list any > external services in smb.conf. Patch forthcoming.And here's the patch. Some older code that didn't get removed during the latest rewrite. cheers, jerry -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFD6gkNIR7qMdg1EfYRAvAnAJ9KVqfkhTioqy6qu1zDe3bf4SSiRACguib5 kEHh8BfbiPq4Xem8RPmPr3M=HsN2 -----END PGP SIGNATURE-----