Alexey Zilber
2003-Aug-08 09:00 UTC
[Samba] Samba 3b3, cups117 and point-n-click blues. Looks like Samba bug? HELP! part 2
I've attempted to do the same using Win2k's APW. At first it looks like it's going to work, but at the very last part it gives an access denied error. It gives the errors AFTER it copies all the files to the server... Here's the log.spleen (my win2k is spleen): unix_clean_name [W32X86/PSCRIPT.NTF] [2003/08/08 16:46:05, 3] lib/util.c:unix_clean_name(580) unix_clean_name [W32X86/3/PSCRIPT.NTF] [2003/08/08 16:46:05, 3] smbd/reply.c:rename_internals(3196) rename_internals: case_sensitive = 0, case_preserve = 1, short case preserve = 1, directory W32X86/PSCRIPT.NTF, newname = W32X86/3/PSCRIPT.NTF, newname_last_component = PSCRIPT.NTF, is_8_3 = 0 [2003/08/08 16:46:05, 3] lib/util.c:unix_clean_name(580) unix_clean_name [W32X86/PSCRIPT.NTF] [2003/08/08 16:46:05, 2] smbd/open.c:open_file(240) Administrator opened file W32X86/PSCRIPT.NTF read=Yes write=No (numopen=1) [2003/08/08 16:46:05, 2] smbd/close.c:close_normal_file(228) root closed file W32X86/PSCRIPT.NTF (numopen=0) [2003/08/08 16:46:05, 3] smbd/reply.c:rename_internals(3289) rename_internals: succeeded doing rename on W32X86/PSCRIPT.NTF -> W32X86/3/PSCRIPT.NTF [2003/08/08 16:46:05, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2003/08/08 16:46:05, 1] smbd/service.c:close_cnum(873) spleen (192.168.160.1) closed connection to service print$ [2003/08/08 16:46:05, 3] smbd/connection.c:yield_connection(69) Yielding connection to print$ [2003/08/08 16:46:05, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2003/08/08 16:46:05, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/08/08 16:46:06, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544) free_pipe_context: destroying talloc pool of size 1272 [2003/08/08 16:46:06, 3] smbd/process.c:process_smb(878) Transaction 6806 of length 45 [2003/08/08 16:46:06, 3] smbd/process.c:switch_message(673) switch message SMBclose (pid 32359) [2003/08/08 16:46:06, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/08/08 16:46:06, 3] smbd/reply.c:reply_close(2395) close directory fnum=9615 [2003/08/08 16:46:06, 3] smbd/process.c:process_smb(878) Transaction 6807 of length 736 [2003/08/08 16:46:06, 3] smbd/process.c:switch_message(673) switch message SMBtrans (pid 32359) [2003/08/08 16:46:06, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/08/08 16:46:06, 3] smbd/ipc.c:reply_trans(512) trans <\PIPE\> data=648 params=0 setup=2 [2003/08/08 16:46:06, 3] smbd/ipc.c:named_pipe(326) named pipe command on <> name [2003/08/08 16:46:06, 3] smbd/ipc.c:api_fd_reply(288) Got API command 0x26 on pipe "spoolss" (pnum 7093)free_pipe_context: destroying talloc pool of size 0 [2003/08/08 16:46:06, 3] rpc_server/srv_pipe.c:api_pipe_request(1423) Doing \PIPE\spoolss [2003/08/08 16:46:06, 3] rpc_server/srv_pipe.c:api_rpcTNP(1476) api_rpcTNP: rpc command: SPOOLSS_GETPRINTERDRIVERDIRECTORY [2003/08/08 16:46:06, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544) free_pipe_context: destroying talloc pool of size 618 [2003/08/08 16:46:06, 3] smbd/process.c:process_smb(878) Transaction 6808 of length 94 [2003/08/08 16:46:06, 3] smbd/process.c:switch_message(673) switch message SMBtrans2 (pid 32359) [2003/08/08 16:46:06, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/08/08 16:46:06, 3] smbd/trans2.c:call_trans2qfilepathinfo(1830) call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004 [2003/08/08 16:46:06, 3] lib/util.c:unix_clean_name(580) unix_clean_name [/W32X86] [2003/08/08 16:46:06, 3] lib/util.c:unix_clean_name(580) unix_clean_name [W32X86] [2003/08/08 16:46:06, 3] smbd/trans2.c:call_trans2qfilepathinfo(1861) call_trans2qfilepathinfo W32X86 level=1004 call=5 total_data=0 [2003/08/08 16:46:06, 3] smbd/process.c:process_smb(878) Transaction 6809 of length 104 [2003/08/08 16:46:06, 3] smbd/process.c:switch_message(673) switch message SMBtrans2 (pid 32359) [2003/08/08 16:46:06, 3] smbd/trans2.c:call_trans2findfirst(883) call_trans2findfirst: dirtype = 22, maxentries 1366, close_after_first=0, close_if_end = 1 requires_resume_key = 1 level = 260, max_data_bytes 16384 [2003/08/08 16:46:06, 3] lib/util.c:unix_clean_name(580) unix_clean_name [/W32X86/*] [2003/08/08 16:46:06, 3] lib/util.c:unix_clean_name(580) unix_clean_name [W32X86/*] [2003/08/08 16:46:06, 3] lib/util.c:unix_clean_name(580) unix_clean_name [W32X86] [2003/08/08 16:46:06, 3] smbd/dir.c:dptr_create(491) creating new dirptr 256 for path W32X86, expect_close = 1 [2003/08/08 16:46:06, 3] smbd/process.c:process_smb(878) Transaction 6810 of length 280 [2003/08/08 16:46:06, 3] smbd/process.c:switch_message(673) switch message SMBtrans (pid 32359) [2003/08/08 16:46:06, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/08/08 16:46:06, 3] smbd/ipc.c:reply_trans(512) trans <\PIPE\> data=192 params=0 setup=2 [2003/08/08 16:46:06, 3] smbd/ipc.c:named_pipe(326) named pipe command on <> name [2003/08/08 16:46:06, 3] smbd/ipc.c:api_fd_reply(288) Got API command 0x26 on pipe "spoolss" (pnum 7093)free_pipe_context: destroying talloc pool of size 0 [2003/08/08 16:46:06, 3] rpc_server/srv_pipe.c:api_pipe_request(1423) Doing \PIPE\spoolss [2003/08/08 16:46:06, 3] rpc_server/srv_pipe.c:api_rpcTNP(1476) api_rpcTNP: rpc command: SPOOLSS_OPENPRINTEREX checking name: \\Printproc [2003/08/08 16:46:06, 3] rpc_server/srv_spoolss_nt.c:set_printer_hnd_printertype(448) Setting printer type=\\Printproc [2003/08/08 16:46:06, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544) free_pipe_context: destroying talloc pool of size 70 [2003/08/08 16:46:06, 3] smbd/process.c:process_smb(878) Transaction 6811 of length 168 [2003/08/08 16:46:06, 3] smbd/process.c:switch_message(673) switch message SMBtrans (pid 32359) [2003/08/08 16:46:06, 3] smbd/ipc.c:reply_trans(512) trans <\PIPE\> data=80 params=0 setup=2 [2003/08/08 16:46:06, 3] smbd/ipc.c:named_pipe(326) named pipe command on <> name [2003/08/08 16:46:06, 3] smbd/ipc.c:api_fd_reply(288) Got API command 0x26 on pipe "spoolss" (pnum 7093)free_pipe_context: destroying talloc pool of size 0 [2003/08/08 16:46:06, 3] rpc_server/srv_pipe.c:api_pipe_request(1423) Doing \PIPE\spoolss [2003/08/08 16:46:06, 3] rpc_server/srv_pipe.c:api_rpcTNP(1476) api_rpcTNP: rpc command: SPOOLSS_GETPRINTERDATA [2003/08/08 16:46:06, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544) free_pipe_context: destroying talloc pool of size 24 [2003/08/08 16:46:06, 3] smbd/process.c:process_smb(878) Transaction 6812 of length 132 [2003/08/08 16:46:06, 3] smbd/process.c:switch_message(673) switch message SMBtrans (pid 32359) [2003/08/08 16:46:06, 3] smbd/ipc.c:reply_trans(512) trans <\PIPE\> data=44 params=0 setup=2 [2003/08/08 16:46:06, 3] smbd/ipc.c:named_pipe(326) named pipe command on <> name [2003/08/08 16:46:06, 3] smbd/ipc.c:api_fd_reply(288) Got API command 0x26 on pipe "spoolss" (pnum 7093)free_pipe_context: destroying talloc pool of size 0 [2003/08/08 16:46:06, 3] rpc_server/srv_pipe.c:api_pipe_request(1423) Doing \PIPE\spoolss [2003/08/08 16:46:06, 3] rpc_server/srv_pipe.c:api_rpcTNP(1476) api_rpcTNP: rpc command: SPOOLSS_CLOSEPRINTER [2003/08/08 16:46:06, 3] rpc_server/srv_lsa_hnd.c:close_policy_hnd(200) Closed policy [2003/08/08 16:46:06, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544) free_pipe_context: destroying talloc pool of size 0 [2003/08/08 16:46:06, 3] smbd/process.c:process_smb(878) Transaction 6813 of length 628 [2003/08/08 16:46:06, 3] smbd/process.c:switch_message(673) switch message SMBtrans (pid 32359) [2003/08/08 16:46:06, 3] smbd/ipc.c:reply_trans(512) trans <\PIPE\> data=540 params=0 setup=2 [2003/08/08 16:46:06, 3] smbd/ipc.c:named_pipe(326) named pipe command on <> name [2003/08/08 16:46:06, 3] smbd/ipc.c:api_fd_reply(288) Got API command 0x26 on pipe "spoolss" (pnum 7093)free_pipe_context: destroying talloc pool of size 0 [2003/08/08 16:46:06, 3] rpc_server/srv_pipe.c:api_pipe_request(1423) Doing \PIPE\spoolss [2003/08/08 16:46:06, 3] rpc_server/srv_pipe.c:api_rpcTNP(1476) api_rpcTNP: rpc command: SPOOLSS_ADDPRINTEREX [2003/08/08 16:46:06, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544) free_pipe_context: destroying talloc pool of size 474 [2003/08/08 16:46:17, 3] smbd/process.c:process_smb(878) Transaction 6814 of length 628 [2003/08/08 16:46:17, 3] smbd/process.c:switch_message(673) switch message SMBtrans (pid 32359) [2003/08/08 16:46:17, 3] smbd/ipc.c:reply_trans(512) trans <\PIPE\> data=540 params=0 setup=2 [2003/08/08 16:46:17, 3] smbd/ipc.c:named_pipe(326) named pipe command on <> name [2003/08/08 16:46:17, 3] smbd/ipc.c:api_fd_reply(288) Got API command 0x26 on pipe "spoolss" (pnum 7093)free_pipe_context: destroying talloc pool of size 0 [2003/08/08 16:46:17, 3] rpc_server/srv_pipe.c:api_pipe_request(1423) Doing \PIPE\spoolss [2003/08/08 16:46:17, 3] rpc_server/srv_pipe.c:api_rpcTNP(1476) api_rpcTNP: rpc command: SPOOLSS_ADDPRINTEREX [2003/08/08 16:46:17, 3] rpc_server/srv_pipe_hnd.c:free_pipe_context(544) free_pipe_context: destroying talloc pool of size 474 [2003/08/08 16:46:21, 3] smbd/process.c:process_smb(878) Transaction 6815 of length 118 [2003/08/08 16:46:21, 3] smbd/process.c:switch_message(673) switch message SMBtrans2 (pid 32359) [2003/08/08 16:46:21, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/08/08 16:46:21, 3] smbd/trans2.c:call_trans2qfilepathinfo(1830) call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004 [2003/08/08 16:46:21, 3] lib/util.c:unix_clean_name(580) unix_clean_name [/W32X86/__SKIP_00C6] [2003/08/08 16:46:21, 3] lib/util.c:unix_clean_name(580) unix_clean_name [W32X86/__SKIP_00C6] [2003/08/08 16:46:21, 3] smbd/trans2.c:call_trans2qfilepathinfo(1861) call_trans2qfilepathinfo W32X86/__SKIP_00C6 level=1004 call=5 total_data=0 [2003/08/08 16:46:21, 3] smbd/process.c:process_smb(878) Transaction 6816 of length 118 [2003/08/08 16:46:21, 3] smbd/process.c:switch_message(673) switch message SMBtrans2 (pid 32359) [2003/08/08 16:46:21, 3] smbd/trans2.c:call_trans2qfilepathinfo(1830) call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1035 [2003/08/08 16:46:21, 3] lib/util.c:unix_clean_name(580) unix_clean_name [/W32X86/__SKIP_00C6] [2003/08/08 16:46:21, 3] lib/util.c:unix_clean_name(580) unix_clean_name [W32X86/__SKIP_00C6] [2003/08/08 16:46:21, 3] smbd/trans2.c:call_trans2qfilepathinfo(1861) call_trans2qfilepathinfo W32X86/__SKIP_00C6 level=1035 call=5 total_data=0 [2003/08/08 16:46:21, 3] smbd/process.c:process_smb(878) Transaction 6817 of length 80 [2003/08/08 16:46:21, 3] smbd/process.c:switch_message(673) switch message SMBrmdir (pid 32359) [2003/08/08 16:46:21, 3] lib/util.c:unix_clean_name(580) unix_clean_name [/W32X86/__SKIP_00C6] [2003/08/08 16:46:21, 3] lib/util.c:unix_clean_name(580) unix_clean_name [W32X86/__SKIP_00C6] [2003/08/08 16:46:21, 3] smbd/reply.c:reply_rmdir(3038) rmdir W32X86/__SKIP_00C6 [2003/08/08 16:46:58, 3] smbd/process.c:process_smb(878) Transaction 6818 of length 39 [2003/08/08 16:46:58, 3] smbd/process.c:switch_message(673) switch message SMBtdis (pid 32359) [2003/08/08 16:46:58, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/08/08 16:46:58, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/08/08 16:46:58, 1] smbd/service.c:close_cnum(873) spleen (192.168.160.1) closed connection to service print$ [2003/08/08 16:46:58, 3] smbd/connection.c:yield_connection(69) Yielding connection to print$ [2003/08/08 16:46:58, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/08/08 16:48:41, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/08/08 16:50:31, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/08/08 16:52:07, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2003/08/08 16:53:35, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 Thank you! Alex ________________________________________________________________________ Want to chat instantly with your online friends? Get the FREE Yahoo! Messenger http://uk.messenger.yahoo.com/
Alex
2003-Aug-13 01:57 UTC
[Samba] Re: Samba 3b3, cups117 and point-n-click blues. = WERR_UNKNOWN_PRINTER_DRIVER = Bug#294
Looks like I'm not the only one having this problem. I've submitted this bug on Bugzilla: https://bugzilla.samba.org/show_bug.cgi?id=294 It looks like this happens across multiple versions of Samba. One person who's emailed me says the problem just went away and he has no idea how. This has been a major show stopper for me for over a week now. I've follow the Samba HOWTO by Kurt Pfeifle to the letter. Everything seems to work except the driver download, which is a major problem considering I'm trying to build a samba appliance... Thank you all! Alex
Apparently Analagous Threads
- cupsaddsmb error: cli_pipe_validate_current_pdu: RPC fault code DCERPC_FAULT_OP_RNG_ERROR received
- cups automatic driver install (WERR_ACCESS_DENIED)
- add x64 printer drivers with cupsaddsmb fail
- Samba 3b3, cups117 and point-n-click blues. Looks like Samba bug? HELP!
- cupsaddsmb not working after upgrade to Lenny (rpcclient -> WERR_INVALID_PARAM)