r13547: add earlier checks to deny deleting a printer driver. The previous
commitb2ae6e08daee619936f2858eafb31b3a8d8ecfcb
authorGerald Carter <jerry@samba.org>
Fri, 17 Feb 2006 21:07:26 +0000 (17 21:07 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:10:12 +0000 (10 11:10 -0500)
tree65f70e08f1415d026b439123e47b38e54a3858c4
parentf4e11e9ddbecd5ec0a50246c891a3c696be526a9
r13547: add earlier checks to deny deleting a printer driver.  The previous
code relied upon file permissions alone.  Now we check that
the user is a printer administrator and that the share has not been
marked read only for that user.
(This used to be commit 117d9fd9e16a7afbc6772506a4f8c33ff99d33f7)
source3/printing/nt_printing.c
source3/rpc_server/srv_spoolss_nt.c