Lines Matching refs:printer
24 /* This program can get or set NT printer security permissions from the
44 The first two lines describe the owner user and owner group of the printer.
46 not set. The remaining lines list the printer permissions or ACE entries,
53 3 ACE mask - printer ACE masks are defined in rpc_spoolss.h
58 - The guest user has No Access to the printer
158 /* Get a printer security descriptor */
160 int psec_getsec(char *printer)
185 slprintf(keystr, sizeof(keystr) - 1, "SECDESC/%s", printer);
196 printf("error fetching descriptor for printer %s\n",
197 printer);
256 /* Set a printer security descriptor */
258 int psec_setsec(char *printer)
364 slprintf(keystr, sizeof(keystr) - 1, "SECDESC/%s", printer);
367 printf("Failed to store secdesc for %s\n", printer);