spoolss: fix DPD_DELETE_ALL_FILES error return
commit29c97b7132ac316327123f200a71e70317b2dbb9
authorDavid Disseldorp <ddiss@samba.org>
Tue, 10 Jan 2012 17:21:42 +0000 (10 18:21 +0100)
committerKarolin Seeger <kseeger@samba.org>
Mon, 23 Jan 2012 19:46:18 +0000 (23 20:46 +0100)
tree45cedb66b07e3a08c11ce3f4f6f7135500c242ec
parentf71b7a83c4cc3d10085ed1b7db29e222a4a9f743
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