Changeset 746 for vendor/current/source3/printing/printspoolss.c
- Timestamp:
- Nov 27, 2012, 4:56:06 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified vendor/current/source3/printing/printspoolss.c ¶
r740 r746 83 83 } 84 84 85 /* Ok, now we have to open an actual file. 85 /* 86 * Ok, now we have to open an actual file. 86 87 * Here is the reason: 87 88 * We want to write the spool job to this file in … … 93 94 * take over once we call EndDocPrinter(). 94 95 * Of course we will not start writing until 95 * StartDocPrinter() actually gives the ok. */ 96 97 pf->filename = talloc_asprintf(pf, "%s/%s.XXXXXX", 96 * StartDocPrinter() actually gives the ok. 97 * smbd spooler files do not include a print jobid 98 * path component, as the jobid is only known after 99 * calling StartDocPrinter(). 100 */ 101 102 pf->filename = talloc_asprintf(pf, "%s/%sXXXXXX", 98 103 lp_pathname(SNUM(fsp->conn)), 99 104 PRINT_SPOOL_PREFIX); … … 140 145 status = dcerpc_spoolss_OpenPrinter(b, pf, pf->svcname, 141 146 "RAW", devmode_ctr, 142 SEC_FLAG_MAXIMUM_ALLOWED,147 PRINTER_ACCESS_USE, 143 148 &pf->handle, &werr); 144 149 if (!NT_STATUS_IS_OK(status)) {
Note:
See TracChangeset
for help on using the changeset viewer.