Date: Sat Aug 23 03:34:24 2003 Author: jerry Update of /data/cvs/samba/source/rpc_server In directory dp.samba.org:/tmp/cvs-serv12266/rpc_server
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. Revisions: srv_spoolss.c 1.69.2.9 => 1.69.2.10 http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_server/srv_spoolss.c.diff?r1=1.69.2.9&r2=1.69.2.10 srv_spoolss_nt.c 1.277.2.73 => 1.277.2.74 http://www.samba.org/cgi-bin/cvsweb/samba/source/rpc_server/srv_spoolss_nt.c.diff?r1=1.277.2.73&r2=1.277.2.74