Well, you haven't told us your version of cups. I had the same problem using cups-1.14.x, upgraded to 1.15.x and the problem is gone. Chr. -----Urspr?ngliche Nachricht----- Von: Peer-Joachim Koch [mailto:pkoch@bgc-jena.mpg.de] Gesendet: Montag, 2. September 2002 17:56 An: samba@samba.org Betreff: [Samba] Printer download - NOT WORKING Hi, I played around with samba 2.2.5 and cups and tried to get it working. Well everything is fine, but the driver upload to the client WILL NOT WORK. I used the current stable downloads, latest patch for printing, prebuilds from Lars Mueller .... I put together everything. If one has a working samba//cups please tar it and place it on our ftp-server. I don't know what's wrong here and where to start .... (I tested everything under two linux boxes: suse 8.0 and suse 7.1) with rpm, with tar's and so on. Any help will be welcome !!! Bye, Peer pc010:/etc/cups # cupsaddsmb -v Konica_7022 Password for root required to access localhost via SAMBA: Running command: smbclient //localhost/print\$ -N -U'root%xxxx' -c 'mkdir W32X86;put /var/spool/cups/tmp/3d736566ba4f3 W32X86/Konica_7022.PPD;put /usr/share/cups/drivers/ADOBEPS5.DLL W32X86/ADOBEPS5.DLL;put /usr/share/cups/drivers/ADOBEPSU.DLL W32X86/ADOBEPSU.DLL;put /usr/share/cups/drivers/ADOBEPSU.HLP W32X86/ADOBEPSU.HLP' added interface ip=141.5.16.210 bcast=141.5.19.255 nmask=255.255.252.0 Domain=[BGC] OS=[Unix] Server=[Samba 2.2.5] NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86 putting file /var/spool/cups/tmp/3d736566ba4f3 as \W32X86/Konica_7022.PPD (15962.7 kb/s) (average 15963.2 kb/s) putting file /usr/share/cups/drivers/ADOBEPS5.DLL as \W32X86/ADOBEPS5.DLL (19391.2 kb/s) (average 18995.8 kb/s) putting file /usr/share/cups/drivers/ADOBEPSU.DLL as \W32X86/ADOBEPSU.DLL (16312.3 kb/s) (average 18364.4 kb/s) putting file /usr/share/cups/drivers/ADOBEPSU.HLP as \W32X86/ADOBEPSU.HLP (9008.8 kb/s) (average 17844.7 kb/s) Running command: smbclient //localhost/print\$ -N -U'root%xxxx' -c 'mkdir WIN40;put /var/spool/cups/tmp/3d736566ba4f3 WIN40/Konica_7022.PPD;put /usr/share/cups/drivers/ADFONTS.MFM WIN40/ADFONTS.MFM;put /usr/share/cups/drivers/ADOBEPS4.DRV WIN40/ADOBEPS4.DRV;put /usr/share/cups/drivers/ADOBEPS4.HLP WIN40/ADOBEPS4.HLP;put /usr/share/cups/drivers/DEFPRTR2.PPD WIN40/DEFPRTR2.PPD;put /usr/share/cups/drivers/ICONLIB.DLL WIN40/ICONLIB.DLL;put /usr/share/cups/drivers/PSMON.DLL WIN40/PSMON.DLL;' added interface ip=141.5.16.210 bcast=141.5.19.255 nmask=255.255.252.0 Domain=[BGC] OS=[Unix] Server=[Samba 2.2.5] NT_STATUS_OBJECT_NAME_COLLISION making remote directory \WIN40 putting file /var/spool/cups/tmp/3d736566ba4f3 as \WIN40/Konica_7022.PPD (15962.7 kb/s) (average 15963.2 kb/s) putting file /usr/share/cups/drivers/ADFONTS.MFM as \WIN40/ADFONTS.MFM (18736.0 kb/s) (average 18484.0 kb/s) putting file /usr/share/cups/drivers/ADOBEPS4.DRV as \WIN40/ADOBEPS4.DRV (19745.6 kb/s) (average 19316.4 kb/s) putting file /usr/share/cups/drivers/ADOBEPS4.HLP as \WIN40/ADOBEPS4.HLP (19185.4 kb/s) (average 19304.2 kb/s) putting file /usr/share/cups/drivers/DEFPRTR2.PPD as \WIN40/DEFPRTR2.PPD (13174.5 kb/s) (average 19247.4 kb/s) putting file /usr/share/cups/drivers/ICONLIB.DLL as \WIN40/ICONLIB.DLL (19226.2 kb/s) (average 19246.3 kb/s) putting file /usr/share/cups/drivers/PSMON.DLL as \WIN40/PSMON.DLL (18666.1 kb/s) (average 19231.5 kb/s) Running command: rpcclient localhost -N -U'root%xxxx' -c 'adddriver "Windows NT x86" "Konica_7022:ADOBEPS5.DLL:Konica_7022.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RA W:NULL"' cmd = adddriver "Windows NT x86" "Konica_7022:ADOBEPS5.DLL:Konica_7022.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RA W:NULL" result was NT_STATUS_UNSUCCESSFUL Running command: rpcclient localhost -N -U'root%xxxx' -c 'adddriver "Windows 4.0" "Konica_7022:ADOBEPS4.DRV:Konica_7022.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:A DFONTS.MFM,DEFPRTR2.PPD,ICONLIB.DLL"' cmd = adddriver "Windows 4.0" "Konica_7022:ADOBEPS4.DRV:Konica_7022.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:A DFONTS.MFM,DEFPRTR2.PPD,ICONLIB.DLL" result was NT_STATUS_UNSUCCESSFUL Running command: rpcclient localhost -N -U'root%xxxx' -c 'setdriver Konica_7022 Konica_7022' cmd = setdriver Konica_7022 Konica_7022 Succesfully set Konica_7022 to driver Konica_7022. pc010:/etc/cups # ls -l /opt/samba_2.2.5/drivers/ total 2 drwxr-xr-x 4 root root 78 Sep 2 15:17 . drwxr-xr-x 10 root root 197 Sep 2 14:55 .. drwxr-xr-x 2 root root 150 Sep 2 15:17 W32X86 drwxr-xr-x 2 root root 229 Sep 2 15:17 WIN40 pc010:/etc/cups # ls -lR /opt/samba_2.2.5/drivers/W* /opt/samba_2.2.5/drivers/W32X86: total 649 drwxr-xr-x 2 root root 150 Sep 2 15:17 . drwxr-xr-x 4 root root 78 Sep 2 15:17 .. -rwxr--r-- 1 root root 456704 Sep 2 15:19 ADOBEPS5.DLL -rwxr--r-- 1 root root 133632 Sep 2 15:19 ADOBEPSU.DLL -rwxr--r-- 1 root root 18451 Sep 2 15:19 ADOBEPSU.HLP -rwxr--r-- 1 root root 49039 Sep 2 15:19 Konica_7022.PPD /opt/samba_2.2.5/drivers/WIN40: total 2257 drwxr-xr-x 2 root root 229 Sep 2 15:17 . drwxr-xr-x 4 root root 78 Sep 2 15:17 .. -rwxr--r-- 1 root root 575573 Sep 2 15:19 ADFONTS.MFM -rwxr--r-- 1 root root 1294048 Sep 2 15:19 ADOBEPS4.DRV -rwxr--r-- 1 root root 196460 Sep 2 15:19 ADOBEPS4.HLP -rwxr--r-- 1 root root 13492 Sep 2 15:19 DEFPRTR2.PPD -rwxr--r-- 1 root root 118128 Sep 2 15:19 ICONLIB.DLL -rwxr--r-- 1 root root 49039 Sep 2 15:19 Konica_7022.PPD -rwxr--r-- 1 root root 57344 Sep 2 15:19 PSMON.DLL pc010:/etc/cups # rpcclient localhost -N -U'root%xxxx' rpcclient $> enuprinters command not found: enuprinters rpcclient $> enumprinters flags:[0x800000] name:[\\localhost\ColorPas] description:[\\localhost\ColorPas,,ColorPas] comment:[ColorPas] flags:[0x800000] name:[\\localhost\Konica_7022] description:[\\localhost\Konica_7022,Konica_7022,Konica_7022] comment:[Konica_7022] rpcclient $> enumdrivers rpcclient $> exit pc010:/ # ls -l /usr/share/cups/drivers total 2808 -rwxr----- 1 root root 575573 Jul 11 2000 ADFONTS.MFM -rwxr----- 1 root root 1294048 Sep 18 2001 ADOBEPS4.DRV -rwxr----- 1 root root 196460 Sep 18 2001 ADOBEPS4.HLP -rwxr----- 1 root root 456704 May 14 09:46 ADOBEPS5.DLL -rwxr----- 1 root root 133632 May 14 09:47 ADOBEPSU.DLL -rwxr----- 1 root root 18451 May 14 09:47 ADOBEPSU.HLP -rwxr----- 1 root root 13492 Mar 9 2000 DEFPRTR2.PPD -rwxr----- 1 root root 118128 Jul 11 2000 ICONLIB.DLL -rwxr----- 1 root root 57344 Jul 11 2000 PSMON.DLL -rw-r--r-- 1 root root 606 Sep 2 15:17 /opt/samba_2.2.5/lib/smb.conf ------------------smbd.log----------------------------- [2002/09/02 15:28:55, 3] param/loadparm.c:init_globals(1261) Initialising global parameters [2002/09/02 15:28:55, 3] param/params.c:pm_process(577) params.c:pm_process() - Processing configuration file "/opt/samba_2.2.5/lib/smb.conf" [2002/09/02 15:28:55, 3] param/loadparm.c:do_section(3024) Processing section "[global]" [2002/09/02 15:28:55, 2] param/loadparm.c:do_section(3042) Processing section "[print$]" [2002/09/02 15:28:55, 2] param/loadparm.c:do_section(3042) Processing section "[printers]" [2002/09/02 15:28:55, 3] param/loadparm.c:lp_add_ipc(2011) adding IPC service IPC$ [2002/09/02 15:28:55, 3] param/loadparm.c:lp_add_ipc(2011) adding IPC service ADMIN$ [2002/09/02 15:28:55, 3] param/loadparm.c:lp_add_printer(2045) adding printer service ColorPas [2002/09/02 15:28:55, 3] param/loadparm.c:lp_add_printer(2045) adding printer service Konica_7022 [2002/09/02 15:28:55, 2] lib/interface.c:add_interface(81) added interface ip=141.5.16.210 bcast=141.5.19.255 nmask=255.255.252.0 [2002/09/02 15:29:12, 3] smbd/oplock.c:init_oplocks(1211) open_oplock_ipc: opening loopback UDP socket. [2002/09/02 15:29:12, 3] lib/util_sock.c:open_socket_in(813) bind succeeded on port 0 [2002/09/02 15:29:12, 3] smbd/oplock_linux.c:linux_init_kernel_oplocks(298) Linux kernel oplocks enabled [2002/09/02 15:29:12, 3] smbd/oplock.c:init_oplocks(1242) open_oplock ipc: pid = 20964, global_oplock_port = 32908 [2002/09/02 15:29:12, 3] smbd/process.c:process_smb(877) Transaction 0 of length 76 [2002/09/02 15:29:12, 2] smbd/reply.c:reply_special(92) netbios connect: name1=LOCALHOST name2=PC010 [2002/09/02 15:29:12, 2] smbd/reply.c:reply_special(111) netbios connect: local=localhost remote=pc010 [2002/09/02 15:29:13, 3] smbd/oplock.c:init_oplocks(1211) open_oplock_ipc: opening loopback UDP socket. [2002/09/02 15:29:13, 3] lib/util_sock.c:open_socket_in(813) bind succeeded on port 0 [2002/09/02 15:29:13, 3] smbd/oplock_linux.c:linux_init_kernel_oplocks(298) Linux kernel oplocks enabled [2002/09/02 15:29:13, 3] smbd/oplock.c:init_oplocks(1242) open_oplock ipc: pid = 20966, global_oplock_port = 32909 [2002/09/02 15:29:13, 3] smbd/process.c:process_smb(877) Transaction 0 of length 76 [2002/09/02 15:29:13, 2] smbd/reply.c:reply_special(92) netbios connect: name1=LOCALHOST name2=PC010 [2002/09/02 15:29:13, 2] smbd/reply.c:reply_special(111) netbios connect: local=localhost remote=pc010 [2002/09/02 15:29:13, 3] smbd/oplock.c:init_oplocks(1211) open_oplock_ipc: opening loopback UDP socket. [2002/09/02 15:29:13, 3] lib/util_sock.c:open_socket_in(813) bind succeeded on port 0 [2002/09/02 15:29:13, 3] smbd/oplock_linux.c:linux_init_kernel_oplocks(298) Linux kernel oplocks enabled [2002/09/02 15:29:13, 3] smbd/oplock.c:init_oplocks(1242) open_oplock ipc: pid = 20968, global_oplock_port = 32909 [2002/09/02 15:29:14, 3] smbd/process.c:process_smb(877) Transaction 0 of length 76 [2002/09/02 15:29:14, 2] smbd/reply.c:reply_special(92) netbios connect: name1=LOCALHOST name2=PC010 [2002/09/02 15:29:14, 2] smbd/reply.c:reply_special(111) netbios connect: local=localhost remote=pc010 [2002/09/02 15:29:14, 3] smbd/oplock.c:init_oplocks(1211) open_oplock_ipc: opening loopback UDP socket. [2002/09/02 15:29:14, 3] lib/util_sock.c:open_socket_in(813) bind succeeded on port 0 [2002/09/02 15:29:14, 3] smbd/oplock_linux.c:linux_init_kernel_oplocks(298) Linux kernel oplocks enabled [2002/09/02 15:29:14, 3] smbd/oplock.c:init_oplocks(1242) open_oplock ipc: pid = 20970, global_oplock_port = 32909 [2002/09/02 15:29:14, 3] smbd/process.c:process_smb(877) Transaction 0 of length 76 [2002/09/02 15:29:14, 2] smbd/reply.c:reply_special(92) netbios connect: name1=LOCALHOST name2=PC010 [2002/09/02 15:29:14, 2] smbd/reply.c:reply_special(111) netbios connect: local=localhost remote=pc010 [2002/09/02 15:29:15, 3] smbd/oplock.c:init_oplocks(1211) open_oplock_ipc: opening loopback UDP socket. [2002/09/02 15:29:15, 3] lib/util_sock.c:open_socket_in(813) bind succeeded on port 0 [2002/09/02 15:29:15, 3] smbd/oplock_linux.c:linux_init_kernel_oplocks(298) Linux kernel oplocks enabled [2002/09/02 15:29:15, 3] smbd/oplock.c:init_oplocks(1242) open_oplock ipc: pid = 20972, global_oplock_port = 32909 [2002/09/02 15:29:15, 3] smbd/process.c:process_smb(877) Transaction 0 of length 76 [2002/09/02 15:29:15, 2] smbd/reply.c:reply_special(92) netbios connect: name1=LOCALHOST name2=PC010 [2002/09/02 15:29:15, 2] smbd/r -------------------END smbd.log------------------------------------ -------------------rpcclient log---------------------------------- rpcclient $> debuglevel 10 debuglevel is 10 rpcclient $> adddriver "Windows NT x86" "Konica_7022:ADOBEPS5.DLL:Konica_7022.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RA W:NULL" write_socket(3,96) write_socket(3,96) wrote 96 got smb length of 103 size=103 smb_com=0xa2 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=1 smb_tid=1 smb_pid=21036 smb_uid=0 smb_mid=1 smt_wct=34 smb_vwv[0]=255 (0xFF) smb_vwv[1]=0 (0x0) smb_vwv[2]=24832 (0x6100) smb_vwv[3]=370 (0x172) smb_vwv[4]=0 (0x0) smb_vwv[5]=0 (0x0) smb_vwv[6]=0 (0x0) smb_vwv[7]=0 (0x0) smb_vwv[8]=0 (0x0) smb_vwv[9]=0 (0x0) smb_vwv[10]=0 (0x0) smb_vwv[11]=0 (0x0) smb_vwv[12]=0 (0x0) smb_vwv[13]=0 (0x0) smb_vwv[14]=0 (0x0) smb_vwv[15]=0 (0x0) smb_vwv[16]=0 (0x0) smb_vwv[17]=0 (0x0) smb_vwv[18]=0 (0x0) smb_vwv[19]=0 (0x0) smb_vwv[20]=0 (0x0) smb_vwv[21]=32768 (0x8000) smb_vwv[22]=0 (0x0) smb_vwv[23]=0 (0x0) smb_vwv[24]=0 (0x0) smb_vwv[25]=0 (0x0) smb_vwv[26]=0 (0x0) smb_vwv[27]=0 (0x0) smb_vwv[28]=0 (0x0) smb_vwv[29]=0 (0x0) smb_vwv[30]=0 (0x0) smb_vwv[31]=512 (0x200) smb_vwv[32]=65280 (0xFF00) smb_vwv[33]=5 (0x5) smb_bcc=0 Bind RPC Pipe[7261]: \PIPE\spoolss Bind Abstract Syntax: [000] 78 56 34 12 34 12 CD AB EF 00 01 23 45 67 89 AB xV4.4.?? ?..#Eg.? [010] 01 00 00 00 .... Bind Transfer Syntax: [000] 04 5D 88 8A EB 1C C9 11 9F E8 08 00 2B 10 48 60 .]..?.?. .?..+.H` [010] 02 00 00 00 .... 000000 smb_io_rpc_hdr hdr 0000 major : 05 0001 minor : 00 0002 pkt_type : 0b 0003 flags : 00 0004 pack_type0: 10 0005 pack_type1: 00 0006 pack_type2: 00 0007 pack_type3: 00 0008 frag_len : 0048 000a auth_len : 0000 000c call_id : 00000005 000010 smb_io_rpc_hdr_rb 000010 smb_io_rpc_hdr_bba 0010 max_tsize: 1630 0012 max_rsize: 1630 0014 assoc_gid: 00000000 0018 num_elements: 00000001 001c context_id : 0000 001e num_syntaxes: 01 00001f smb_io_rpc_iface 0020 data : 12345678 0024 data : 1234 0026 data : abcd 0028 data : ef 00 01 23 45 67 89 ab 0030 version: 00000001 000034 smb_io_rpc_iface 0034 data : 8a885d04 0038 data : 1ceb 003a data : 11c9 003c data : 9f e8 08 00 2b 10 48 60 0044 version: 00000002 rpc_api_pipe: cmd:26 fnum:7261 size=146 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=8 smb_flg2=16385 smb_tid=1 smb_pid=21036 smb_uid=0 smb_mid=1 smt_wct=16 smb_vwv[0]=0 (0x0) smb_vwv[1]=72 (0x48) smb_vwv[2]=0 (0x0) smb_vwv[3]=72 (0x48) smb_vwv[4]=0 (0x0) smb_vwv[5]=0 (0x0) smb_vwv[6]=0 (0x0) smb_vwv[7]=0 (0x0) smb_vwv[8]=0 (0x0) smb_vwv[9]=0 (0x0) smb_vwv[10]=74 (0x4A) smb_vwv[11]=72 (0x48) smb_vwv[12]=74 (0x4A) smb_vwv[13]=2 (0x2) smb_vwv[14]=38 (0x26) smb_vwv[15]=29281 (0x7261) smb_bcc=79 [000] 5C 50 49 50 45 5C 00 05 00 0B 00 10 00 00 00 48 \PIPE\.. .......H [010] 00 00 00 05 00 00 00 30 16 30 16 00 00 00 00 01 .......0 .0...... [020] 00 00 00 00 00 01 00 78 56 34 12 34 12 CD AB EF .......x V4.4.??? [030] 00 01 23 45 67 89 AB 01 00 00 00 04 5D 88 8A EB ..#Eg.?. ....]..? [040] 1C C9 11 9F E8 08 00 2B 10 48 60 02 00 00 00 .?..?..+ .H`.... write_socket(3,150) write_socket(3,150) wrote 150 got smb length of 124 size=124 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=1 smb_tid=1 smb_pid=21036 smb_uid=0 smb_mid=1 smt_wct=10 smb_vwv[0]=0 (0x0) smb_vwv[1]=68 (0x44) smb_vwv[2]=0 (0x0) smb_vwv[3]=0 (0x0) smb_vwv[4]=56 (0x38) smb_vwv[5]=0 (0x0) smb_vwv[6]=68 (0x44) smb_vwv[7]=56 (0x38) smb_vwv[8]=0 (0x0) smb_vwv[9]=0 (0x0) smb_bcc=69 [000] 00 05 00 0C 03 10 00 00 00 44 00 00 00 05 00 00 ........ .D...... [010] 00 30 16 30 16 F0 53 00 00 0E 00 5C 50 49 50 45 .0.0.?S. ...\PIPE [020] 5C 73 70 6F 6F 6C 73 73 00 01 00 00 00 00 00 00 \spoolss ........ [030] 00 04 5D 88 8A EB 1C C9 11 9F E8 08 00 2B 10 48 ..]..?.? ..?..+.H [040] 60 02 00 00 00 `.... size=124 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=1 smb_tid=1 smb_pid=21036 smb_uid=0 smb_mid=1 smt_wct=10 smb_vwv[0]=0 (0x0) smb_vwv[1]=68 (0x44) smb_vwv[2]=0 (0x0) smb_vwv[3]=0 (0x0) smb_vwv[4]=56 (0x38) smb_vwv[5]=0 (0x0) smb_vwv[6]=68 (0x44) smb_vwv[7]=56 (0x38) smb_vwv[8]=0 (0x0) smb_vwv[9]=0 (0x0) smb_bcc=69 [000] 00 05 00 0C 03 10 00 00 00 44 00 00 00 05 00 00 ........ .D...... [010] 00 30 16 30 16 F0 53 00 00 0E 00 5C 50 49 50 45 .0.0.? [000] 00 05 00 0C 03 10 00 00 00 44 00 00 00 05 00 00 ........ .D...... [010] 00 30 16 30 16 F0 53 00 00 0E 00 5C 50 49 50 45 .0.0.?S. ...\PIPE [020] 5C 73 70 6F 6F 6C 73 73 00 01 00 00 00 00 00 00 \spoolss ........ [030] 00 04 5D 88 8A EB 1C C9 11 9F E8 08 00 2B 10 48 ..]..?.? ..?..+.H [040] 60 02 00 00 00 `.... size=124 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=1 smb_tid=1 smb_pid=21036 smb_uid=0 smb_mid=1 smt_wct=10 smb_vwv[0]=0 (0x0) smb_vwv[1]=68 (0x44) smb_vwv[2]=0 (0x0) smb_vwv[3]=0 (0x0) smb_vwv[4]=56 (0x38) smb_vwv[5]=0 (0x0) smb_vwv[6]=68 (0x44) smb_vwv[7]=56 (0x38) smb_vwv[8]=0 (0x0) smb_vwv[9]=0 (0x0) smb_bcc=69 [000] 00 05 00 0C 03 10 00 00 00 44 00 00 00 05 00 00 ........ .D...... [010] 00 30 16 30 16 F0 53 00 00 0E 00 5C 50 49 50 45 .0.0.?S. ...\PIPE [020] 5C 73 70 6F 6F 6C 73 73 00 01 00 00 00 00 00 00 \spoolss ........ [030] 00 04 5D 88 8A EB 1C C9 11 9F E8 08 00 2B 10 48 ..]..?.? ..?..+.H [040] 60 02 00 00 00 `.... rpc_check_hdr: rdata->data_size = 68 000000 smb_io_rpc_hdr rpc_hdr 0000 major : 05 0001 minor : 00 0002 pkt_type : 0c 0003 flags : 03 0004 pack_type0: 10 0005 pack_type1: 00 0006 pack_type2: 00 0007 pack_type3: 00 0008 frag_len : 0044 000a auth_len : 0000 000c call_id : 00000005 rpc_api_pipe: len left: 0 smbtrans read: 68 rpc_api_pipe: fragment first and last both set rpc_pipe_bind: rpc_api_pipe returned OK. 000010 smb_io_rpc_hdr_ba 000010 smb_io_rpc_hdr_bba 0010 max_tsize: 1630 0012 max_rsize: 1630 0014 assoc_gid: 000053f0 000018 smb_io_rpc_addr_str 0018 len: 000e 001a str: \PIPE\spoolss. 000028 smb_io_rpc_results 0028 num_results: 01 002c result : 0000 002e reason : 0000 000030 smb_io_rpc_iface 0030 data : 8a885d04 0034 data : 1ceb 0036 data : 11c9 0038 data : 9f e8 08 00 2b 10 48 60 0040 version: 00000002 bind_rpc_pipe: server pipe_name found: \PIPE\spoolss bind_rpc_pipe: accepted! make_spoolss_q_addprinterdriver 000000 spoolss_io_q_addprinterdriver 0000 server_name_ptr: 00000001 000004 smb_io_unistr2 server_name 0004 uni_max_len: 00000008 0008 undoc : 00000000 000c uni_str_len: 00000008 0010 buffer : \.\.P.C.0.1.0... 0020 info_level: 00000003 000024 spool_io_printer_driver_info_level 0024 level: 00000003 0028 ptr: 00000001 00002c spool_io_printer_driver_info_level_3 002c cversion: 00000002 0030 name: 00000001 0034 environment: 00000001 0038 driverpath: 00000001 003c datafile: 00000001 0040 configfile: 00000001 0044 helpfile: 00000001 0048 monitorname: 00000000 004c defaultdatatype: 00000001 0050 dependentfilessize: 00000002 0054 dependentfiles: 00000001 000058 smb_io_unistr2 name 0058 uni_max_len: 0000000c 005c undoc : 00000000 0060 uni_str_len: 0000000c 0064 buffer : K.o.n.i.c.a._.7.0.2.2... 00007c smb_io_unistr2 environment 007c uni_max_len: 0000000f 0080 undoc : 00000000 0084 uni_str_len: 0000000f 0088 buffer : W.i.n.d.o.w.s. .N.T. .x.8.6... 0000a6 smb_io_unistr2 driverpath 00a8 uni_max_len: 0000000d 00ac undoc : 00000000 00b0 uni_str_len: 0000000d 00b4 buffer : A.D.O.B.E.P.S.5...D.L.L... 0000ce smb_io_unistr2 datafile 00d0 uni_max_len: 00000010 00d4 undoc : 00000000 00d8 uni_str_len: 00000010 00dc buffer : K.o.n.i.c.a._.7.0.2.2...P.P.D... 0000fc smb_io_unistr2 configfile 00fc uni_max_len: 0000000d 0100 undoc : 00000000 0104 uni_str_len: 0000000d 0108 buffer : A.D.O.B.E.P.S.U...D.L.L... 000122 smb_io_unistr2 helpfile 0124 uni_max_len: 0000000d 0128 undoc : 00000000 012c uni_str_len: 0000000d 0130 buffer : A.D.O.B.E.P.S.U...H.L.P... 00014a smb_io_unistr2 - NULL monitorname 00014a smb_io_unistr2 defaultdatatype 014c uni_max 014c uni_max_len: 00000004 0150 undoc : 00000000 0154 uni_str_len: 00000004 0158 buffer : R.A.W... 000160 smb_io_buffer5 0160 buf_len: 00000002 0164 buffer: .... create_rpc_request: opnum: 0x9 data_len: 0x180 create_rpc_request: data_len: 180 auth_len: 0 alloc_hint: 170 000000 smb_io_rpc_hdr hdr 0000 major : 05 0001 minor : 00 0002 pkt_type : 00 0003 flags : 03 0004 pack_type0: 10 0005 pack_type1: 00 0006 pack_type2: 00 0007 pack_type3: 00 0008 frag_len : 0180 000a auth_len : 0000 000c call_id : 00000006 000010 smb_io_rpc_hdr_req hdr_req 0010 alloc_hint: 00000170 0014 context_id: 0000 0016 opnum : 0009 rpc_api_pipe: cmd:26 fnum:7261 size=458 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=8 smb_flg2=16385 smb_tid=1 smb_pid=21036 smb_uid=0 smb_mid=1 smt_wct=16 smb_vwv[0]=0 (0x0) smb_vwv[1]=384 (0x180) smb_vwv[2]=0 (0x0) smb_vwv[3]=384 (0x180) smb_vwv[4]=0 (0x0) smb_vwv[5]=0 (0x0) smb_vwv[6]=0 (0x0) smb_vwv[7]=0 (0x0) smb_vwv[8]=0 (0x0) smb_vwv[9]=0 (0x0) smb_vwv[10]=74 (0x4A) smb_vwv[11]=384 (0x180) smb_vwv[12]=74 (0x4A) smb_vwv[13]=2 (0x2) smb_vwv[14]=38 (0x26) smb_vwv[15]=29281 (0x7261) smb_bcc=391 [000] 5C 50 49 50 45 5C 00 05 00 00 03 10 00 00 00 80 \PIPE\.. ........ [010] 01 00 00 06 00 00 00 70 01 00 00 00 00 09 00 01 .......p ........ [020] 00 00 00 08 00 00 00 00 00 00 00 08 00 00 00 5C ........ .......\ [030] 00 5C 00 50 00 43 00 30 00 31 00 30 00 00 00 03 .\.P.C.0 .1.0.... [040] 00 00 00 03 00 00 00 01 00 00 00 02 00 00 00 01 ........ ........ [050] 00 00 00 01 00 00 00 01 00 00 00 01 00 00 00 01 ........ ........ [060] 00 00 00 01 00 00 00 00 00 00 00 01 00 00 00 02 ........ ........ [070] 00 00 00 01 00 00 00 0C 00 00 00 00 00 00 00 0C ........ ........ [080] 00 00 00 4B 00 6F 00 6E 00 69 00 63 00 61 00 5F ...K.o.n .i.c.a._ [090] 00 37 00 30 00 32 00 32 00 00 00 0F 00 00 00 00 .7.0.2.2 ........ [0A0] 00 00 00 0F 00 00 00 57 00 69 00 6E 00 64 00 6F .......W .i.n.d.o [0B0] 00 77 00 73 00 20 00 4E 00 54 00 20 00 78 00 38 .w.s. .N .T. .x.8 [0C0] 00 36 00 00 00 00 00 0D 00 00 00 00 00 00 00 0D .6...... ........ [0D0] 00 00 00 41 00 44 00 4F 00 42 00 45 00 50 00 53 ...A.D.O .B.E.P.S [0E0] 00 35 00 2E 00 44 00 4C 00 4C 00 00 00 00 00 10 .5...D.L .L...... [0F0] 00 00 00 00 00 00 00 10 00 00 00 4B 00 6F 00 6E ........ ...K.o.n [100] 00 69 00 63 00 61 00 5F 00 37 00 30 00 32 00 32 .i.c.a._ .7.0.2.2 [110] 00 2E 00 50 00 50 00 44 00 00 00 0D 00 00 00 00 ...P.P.D ........ [120] 00 00 00 0D 00 00 00 41 00 44 00 4F 00 42 00 45 .......A .D.O.B.E [130] 00 50 00 53 00 55 00 2E 00 44 00 4C 00 4C 00 00 .P.S.U.. .D.L.L.. [140] 00 00 00 0D 00 00 00 00 00 00 00 0D 00 00 00 41 ........ .......A [150] 00 44 00 4F 00 42 00 45 00 50 00 53 00 55 00 2E .D.O.B.E .P.S.U.. [160] 00 48 00 4C 00 50 00 00 00 00 00 04 00 00 00 00 .H.L.P.. ........ [170] 00 00 00 04 00 00 00 52 00 41 00 57 00 00 00 02 .......R .A.W.... [180] 00 00 00 00 00 00 00 ....... write_socket(3,462) write_socket(3,462) wrote 462 got smb length of 84 size=84 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=1 smb_tid=1 smb_pid=21036 smb_uid=0 smb_mid=1 smt_wct=10 smb_vwv[0]=0 (0x0) smb_vwv[1]=28 (0x1C) smb_vwv[2]=0 (0x0) smb_vwv[3]=0 (0x0) smb_vwv[4]=56 (0x38) smb_vwv[5]=0 (0x0) smb_vwv[6]=28 (0x1C) smb_vwv[7]=56 (0x38) smb_vwv[8]=0 (0x0) smb_vwv[9]=0 (0x0) smb_bcc=29 [000] 00 05 00 02 03 10 00 00 00 1C 00 00 00 06 00 00 ........ ........ [010] 00 04 00 00 00 00 00 00 00 02 00 00 00 ........ ..... size=84 smb_com=0x25 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=1 smb_tid=1 smb_pid=21036 smb_uid=0 smb_mid=1 smt_wct=10 smb_vwv[0]=0 (0x0) smb_vwv[1]=28 (0x1C) smb_vwv[2]=0 (0x0) smb_vwv[3]=0 (0x0) smb_vwv[4]=56 (0x38) smb_vwv[5]=0 (0x0) smb_vwv[6]=28 (0x1C) smb_vwv[7]=56 (0x38) smb_vwv[8]=0 (0x0) smb_vwv[9]=0 (0x0) smb_bcc=29 [000] 00 05 00 02 03 10 00 00 00 1C 00 00 00 06 00 00 ........ ........ [010] 00 04 00 00 00 00 00 00 00 02 00 00 00 ........ ..... rpc_check_hdr: rdata->data_size = 28 000000 smb_io_rpc_hdr rpc_hdr 0000 major : 05 0001 minor : 00 0002 pkt_type : 02 0003 flags : 03 0004 pack_type0: 10 0005 pack_type1: 00 0006 pack_type2: 00 0007 pack_type3: 00 0008 frag_len : 001c 000a auth_len : 0000 000c call_id : 00000006 000010 smb_io_rpc_hdr_resp rpc_hdr_resp 0010 alloc_hint: 00000004 0014 context_id: 0000 0016 cancel_ct : 00 0017 reserved : 00 rpc_api_pipe: len left: 0 smbtrans read: 28 rpc_api_pipe: fragment first and last both set 000018 spoolss_io_r_addprinterdriver 0018 status: WERR_BADFILE write_socket(3,45) write_socket(3,45) wrote 45 got smb length of 35 size=35 smb_com=0x4 smb_rcls=0 smb_reh=0 smb_err=0 smb_flg=136 smb_flg2=1 smb_tid=1 smb_pid=21036 smb_uid=0 smb_mid=1 smt_wct=0 smb_bcc=0 result was NT_STATUS_UNSUCCESSFUL ----------------------end of rpcclient log----------------------- [global] workgroup = BGC server string = DVA.PC010 netbios name = PC010 security = share printer admin = root log file = /var/log/samba/%m.log load printers = yes printing = cups printcap name = cups [print$] comment = Printer Drivers path = /opt/samba_2.2.5/drivers browseable = yes guest ok = no read only = yes write list = root [printers] comment = All Printers path = /var/spool/samba browseable = no public = yes guest ok = yes writable = no printable = yes printer admin = root Mit freundlichem Gruss Peer-Joachim Koch _________________________________________________________ Max-Planck-Institut fuer Biogeochemie Dr. Peer-Joachim Koch Carl-Zeiss-Promenade 10 Telefon: ++49 3641 6437-52 D-07745 Jena Telefax: ++49 3641 6437-10 -- To unsubscribe from this list go to the following URL and read the instructions: http://lists.samba.org/mailman/listinfo/samba