adddriver spoolss woes

REILLY,JOHN R (HP-Roseville,ex1) jreilly at hp.com
Wed Jan 2 16:33:02 GMT 2002


Benjamin -

> I'm trying to get some spoolss functionality working on my samba
> cvs test server, running on a solaris8 box.

... stuff deleted ...

>  * While working out why smbd is trying to move files into "W32X86/-1",
> I've found that driver->cversion=2 until clean_up_driver_struct_level_3
> calls "get_file_cversion" via "get_correct_cversion", and
get_file_cversion
> fails with "Version info not found [W32X86/pscript.dll]".

Jeremy has fixed this bug. An uninitialized value... for which I must
take the blame :-(

> It appears that smbd expects all the dll's to begin with "MZ",
> while the drivers I got from the NT workstation install disk have
> pscript.dll starting with "MS" (MSCF).

"MZ" is the DOS magic value.

> [2001/12/29 23:51:50, 0] printing/nt_printing.c:get_file_version(602)
>   get_file_version: File [W32X86/pscript.dll] bad DOS magic = 0x534d
> [2001/12/29 23:51:50, 0] printing/nt_printing.c:get_correct_cversion(1007)
>   get_correct_cversion: Version info not found [W32X86/pscript.dll]

The "bad DOS magic" is intriguing, as there may be yet some new file
format that we must cover... arrrg! I have dug around NT sp3 and sp6 and
can't find a pscript.dll that has the "MS" code. Could you please tell
me more about your source?

Cheers
JohnR




More information about the samba-technical mailing list