spoolss: fix DPD_DELETE_ALL_FILES error return
authorDavid Disseldorp <ddiss@samba.org>
Tue, 10 Jan 2012 17:21:42 +0000 (18:21 +0100)
committerDavid Disseldorp <ddiss@samba.org>
Wed, 11 Jan 2012 12:56:44 +0000 (13:56 +0100)
commit8dc9fbd3af0008aac70194ab69f50352a13b9230
tree65f5e456df968900a9a5751c2ba32eff7660912e
parentfc2c76f9218b1e92982b4b1813f44b9010dcd842
spoolss: fix DPD_DELETE_ALL_FILES error return

If DeletePrinterDriverEx is called with DPD_DELETE_ALL_FILES and files
assigned to the to-be-deleted driver overlap with other drivers then an
error is returned. Change the error code here to match Windows 2k8r2.

Signed-off-by: David Disseldorp <ddiss@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
source3/rpc_server/spoolss/srv_spoolss_nt.c