s3-spoolss: handle SEC_FLAG_MAXIMUM_ALLOWED in spoolss_OpenPrinterEx.
commite96c22d8d16a520c2ee9f49f71c26d1cb86f148f
authorGünther Deschner <gd@samba.org>
Thu, 3 Dec 2009 22:23:36 +0000 (3 23:23 +0100)
committerGünther Deschner <gd@samba.org>
Mon, 7 Dec 2009 14:38:07 +0000 (7 15:38 +0100)
tree7dc3130320486945f71828a4a71fbab8ddf40cd3
parentcfd570a0128db42429a48ab6001f20d99d8dbfeb
s3-spoolss: handle SEC_FLAG_MAXIMUM_ALLOWED in spoolss_OpenPrinterEx.

In case someone (smbtorture4) requests SEC_FLAG_MAXIMUM_ALLOWED, translate it
to a request of PRINTER_ACCESS_ADMINISTER.

Guenther
(cherry picked from commit 459a968fb4d6f96ea7f310f331d3547e2e466d6a)
source3/rpc_server/srv_spoolss_nt.c