s3-spoolss: handle SEC_FLAG_MAXIMUM_ALLOWED in spoolss_OpenPrinterEx.
commite315e45cbd98f95aabde21952beb88541c4a7b03
authorGünther Deschner <gd@samba.org>
Thu, 3 Dec 2009 22:23:36 +0000 (3 23:23 +0100)
committerKarolin Seeger <kseeger@samba.org>
Tue, 8 Dec 2009 08:15:34 +0000 (8 09:15 +0100)
treedd731e223aba0066bb9593a5e9443dc1f1c7da9a
parent6cfe8a2feb129966b938a4c82076b2d707e3c096
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)
(cherry picked from commit e96c22d8d16a520c2ee9f49f71c26d1cb86f148f)
source3/rpc_server/srv_spoolss_nt.c