rpc parse- unknown specversion error

CW Harris charris at rtcmarketing.com
Thu May 15 21:39:35 GMT 2003


Per the request of the log files I am emailing this info:

These are the error messages from the log file:

[2003/05/15 14:33:42, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(607)
  spoolss_io_devmode: Unknown specversion in devicemode [0x0]
[2003/05/15 14:33:42, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(608)
  spoolss_io_devmode: please report to samba-technical at samba.org!
[2003/05/15 14:33:42, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(704)
  spoolss_io_devmode: I've parsed all I know and there is still stuff left|
[2003/05/15 14:33:42, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(706)
  spoolss_io_devmode: available_space = [-220], devmode_size = [0]!
[2003/05/15 14:33:42, 0] rpc_parse/parse_spoolss.c:spoolss_io_devmode(707)
  spoolss_io_devmode: please report to samba-technical at samba.org!


This is the background info:
o Debian linux running kernel 2.4.20
    Linux calvin 2.4.20 #1 Mon May 5 13:52:16 MDT 2003 i686 unknown
o samba          2.2.8a-0.1    
o HP LaserJet 3330 mfp  (multi-function office machine - print engine
		like the HP 1200)
o cupsys         1.1.15-4       Common UNIX Printing System(tm) - server
o hpoj           0.90-2         HP OfficeJet Linux driver (hpoj)

I have been trying to add print drivers. This error occurs when using
cupsaddsmb to add the printer (the error does not happen for another
printer-HP LaserJet 4).  Specifically, it seems to go well until the
rpcclient tries to setdriver hp3330 hp3330.

I have tried this connected through the usb port and through the
parallel port - same symptoms.

This also occurs if a windows box tries to connect to the share to set
up a printer. (Correction W98 okay with the WIN40 files, WinXP Pro not
okay.)

Below is a transcript of the cupsaddsmb session:
Notes: gw is a virtual samba server on calvin,
	end of line ^M's deleted,
	hp3330.ppd file taken from printer CD WinXP section.

(Edited transcript--full transcript at end of email)

calvin:~# cupsaddsmb -H gw -U root -v hp3330
<snip>
Running command: rpcclient gw -N -U'root%Passwd' -c 'adddriver "Windows NT x86"
 "hp3330:ADOBEPS5.DLL:hp3330.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL"'
Printer Driver hp3330 successfully installed.

Running command: rpcclient gw -N -U'root%Passwd' -c 'adddriver "Windows 4.0"... 
<snip>
Printer Driver hp3330 successfully installed.

Running command: rpcclient gw -N -U'root%Passwd' -c 'setdriver hp3330 hp3330'
cmd = setdriver hp3330 hp3330
Unable to retrieve printer information!
result was NT_STATUS_UNSUCCESSFUL

-- 

Chris Harris <charris at rtcmarketing.com>
-------------------------------------------
Linux --- The best things in life are free.


Full transcript of the session
======================================================
=== begin cupsaddsmb session =========================
======================================================
calvin:~# cupsaddsmb -H gw -U root -v hp3330
Password for root required to access gw via SAMBA: 
Running command: smbclient //gw/print\$ -N -U'root%Passwd' -c 'mkdir W32X86;put /var/spool/cups/tmp/3ec3f87dd6f4b W32X86/hp3330.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=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0
added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
Got a positive name query response from 127.0.0.1 ( 192.168.1.1 )
Domain=[RTCMARKETING] OS=[Unix] Server=[Samba 2.2.8a-0.1 for Debian]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \W32X86
putting file /var/spool/cups/tmp/3ec3f87dd6f4b as \W32X86/hp3330.PPD (1335.5 kb/s) (average 1335.5 kb/s)
putting file /usr/share/cups/drivers/ADOBEPS5.DLL as \W32X86/ADOBEPS5.DLL (4857.3 kb/s) (average 4202.8 kb/s)
putting file /usr/share/cups/drivers/ADOBEPSU.DLL as \W32X86/ADOBEPSU.DLL (3785.7 kb/s) (average 4104.2 kb/s)
putting file /usr/share/cups/drivers/ADOBEPSU.HLP as \W32X86/ADOBEPSU.HLP (375.4 kb/s) (average 3191.0 kb/s)

Running command: smbclient //gw/print\$ -N -U'root%Passwd' -c 'mkdir WIN40;put /var/spool/cups/tmp/3ec3f87dd6f4b WIN40/hp3330.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=192.168.1.1 bcast=192.168.1.255 nmask=255.255.255.0
added interface ip=127.0.0.1 bcast=127.255.255.255 nmask=255.0.0.0
Got a positive name query response from 127.0.0.1 ( 192.168.1.1 )
Domain=[RTCMARKETING] OS=[Unix] Server=[Samba 2.2.8a-0.1 for Debian]
NT_STATUS_OBJECT_NAME_COLLISION making remote directory \WIN40
putting file /var/spool/cups/tmp/3ec3f87dd6f4b as \WIN40/hp3330.PPD (572.4 kb/s) (average 572.4 kb/s)
putting file /usr/share/cups/drivers/ADFONTS.MFM as \WIN40/ADFONTS.MFM (4804.1 kb/s) (average 3555.0 kb/s)
putting file /usr/share/cups/drivers/ADOBEPS4.DRV as \WIN40/ADOBEPS4.DRV (4635.4 kb/s) (average 4226.9 kb/s)
putting file /usr/share/cups/drivers/ADOBEPS4.HLP as \WIN40/ADOBEPS4.HLP (5642.8 kb/s) (average 4328.7 kb/s)
putting file /usr/share/cups/drivers/DEFPRTR2.PPD as \WIN40/DEFPRTR2.PPD (1098.0 kb/s) (average 4248.7 kb/s)
putting file /usr/share/cups/drivers/ICONLIB.DLL as \WIN40/ICONLIB.DLL (4806.6 kb/s) (average 4275.0 kb/s)
putting file /usr/share/cups/drivers/PSMON.DLL as \WIN40/PSMON.DLL (1056.6 kb/s) (average 3971.5 kb/s)

Running command: rpcclient gw -N -U'root%Passwd' -c 'adddriver "Windows NT x86" "hp3330:ADOBEPS5.DLL:hp3330.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL"'
cmd = adddriver "Windows NT x86" "hp3330:ADOBEPS5.DLL:hp3330.PPD:ADOBEPSU.DLL:ADOBEPSU.HLP:NULL:RAW:NULL"
Printer Driver hp3330 successfully installed.

Running command: rpcclient gw -N -U'root%Passwd' -c 'adddriver "Windows 4.0" "hp3330:ADOBEPS4.DRV:hp3330.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADFONTS.MFM,DEFPRTR2.PPD,ICONLIB.DLL"'
cmd = adddriver "Windows 4.0" "hp3330:ADOBEPS4.DRV:hp3330.PPD:NULL:ADOBEPS4.HLP:PSMON.DLL:RAW:ADFONTS.MFM,DEFPRTR2.PPD,ICONLIB.DLL"
Printer Driver hp3330 successfully installed.

Running command: rpcclient gw -N -U'root%Passwd' -c 'setdriver hp3330 hp3330'
cmd = setdriver hp3330 hp3330
Unable to retrieve printer information!
result was NT_STATUS_UNSUCCESSFUL

======================================================
===   end cupsaddsmb session =========================
======================================================




More information about the samba-technical mailing list