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>
Sun, 22 Jan 2012 02:08:54 +0000 (03:08 +0100)
commitb8e271cb228f7809142ad6433fc92b92510a61b8
tree0b2cda590e8c79ee146e25c6d8cf865da2ba9002
parent3ea8d8acaefaadd2d3888bec1ef148b7242aaccf
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