Ignore:
Timestamp:
Nov 27, 2012, 4:56:06 PM (12 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated vendor to 3.6.9

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified vendor/current/source3/printing/printspoolss.c

    r740 r746  
    8383        }
    8484
    85         /* Ok, now we have to open an actual file.
     85        /*
     86         * Ok, now we have to open an actual file.
    8687         * Here is the reason:
    8788         * We want to write the spool job to this file in
     
    9394         * take over once we call EndDocPrinter().
    9495         * 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",
    98103                                        lp_pathname(SNUM(fsp->conn)),
    99104                                        PRINT_SPOOL_PREFIX);
     
    140145        status = dcerpc_spoolss_OpenPrinter(b, pf, pf->svcname,
    141146                                            "RAW", devmode_ctr,
    142                                             SEC_FLAG_MAXIMUM_ALLOWED,
     147                                            PRINTER_ACCESS_USE,
    143148                                            &pf->handle, &werr);
    144149        if (!NT_STATUS_IS_OK(status)) {
Note: See TracChangeset for help on using the changeset viewer.