s3-spoolss: more AddPrinter{Ex} checks.
authorGünther Deschner <gd@samba.org>
Thu, 18 Feb 2010 00:58:56 +0000 (01:58 +0100)
committerGünther Deschner <gd@samba.org>
Thu, 18 Feb 2010 01:19:42 +0000 (02:19 +0100)
commit2d2db2a8226f6a3a8e114abc9a37aea66dba912e
tree95c2f963a6f2ff0be6961b39e8d93138da9c7811
parent5cff7e1692e4caa308271581f3df3f72c4f31261
s3-spoolss: more AddPrinter{Ex} checks.

Windows will allow to add a non-shared printer that is returned by EnumPrinters.
Samba has no notion of non-shared local printers yet, so just make sure to
behave like we do elsewhere: a printer autoloaded by samba or added to samba is
shared.

Guenther
source3/rpc_server/srv_spoolss_nt.c