CVS update: samba/source/rpc_server

jerry at jerry at
Sat Aug 23 13:34:24 EST 2003

Date:	Sat Aug 23 03:34:24 2003
Author:	jerry

Update of /data/cvs/samba/source/rpc_server
In directory

Modified Files:
      Tag: SAMBA_3_0
	srv_spoolss.c srv_spoolss_nt.c 
Log Message:
it never amazes me when some new things crawls out of the windows 
spooler. :-(

When installing the Adobe PS driver onto a Samba printer via cupsaddsmb,
I noticed a WIN2k client sending DeletePrinterData("DependentFiles")
pver and over.  I also noticed that we never checked to see if the 
value was valid.  No now we do and return WERR_BADFILE which I think 
is correct.

Next, I noticed that we never wrote the updated printer out to disk
after a succesfully DeletePrinterData[Ex]().

Finally, I found a driver (Canon BJC 1000 using the Adobe PS drivers
and foomatic PPD file) that was destroying the device name string
in the devmode.  So now get_a_printer_2() always writes out the 
device name in \\server\share form.

I think these changes might fix bug 294.

srv_spoolss.c =>
srv_spoolss_nt.c =>

More information about the samba-cvs mailing list