Ignore:
Timestamp:
Apr 9, 2010, 3:51:41 PM (15 years ago)
Author:
Silvan Scherrer
Message:

Samba 3.5.x: trunk update to 3.5.2

Location:
trunk/server
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source3/printing/nt_printing.c

    r414 r429  
    57185718        /* see if we need to try the printer admin list */
    57195719
    5720         if ((access_granted == 0) &&
     5720        if (!NT_STATUS_IS_OK(status) &&
    57215721            (token_contains_name_in_list(uidtoname(server_info->utok.uid),
    57225722                                         NULL, NULL, server_info->ptok,
  • trunk/server/source3/printing/print_cups.c

    r414 r429  
    906906        ipp_t           *request = NULL,        /* IPP Request */
    907907                        *response = NULL;       /* IPP Response */
     908        ipp_attribute_t *attr_job_id = NULL;    /* IPP Attribute "job-id" */
    908909        cups_lang_t     *language = NULL;       /* Default language */
    909910        char            uri[HTTP_MAX_URI]; /* printer-uri attribute */
     
    920921        char addr[INET6_ADDRSTRLEN];
    921922
    922         DEBUG(5,("cups_job_submit(%d, %p (%d))\n", snum, pjob, pjob->sysjob));
     923        DEBUG(5,("cups_job_submit(%d, %p)\n", snum, pjob));
    923924
    924925       /*
     
    10271028                } else {
    10281029                        ret = 0;
     1030                        attr_job_id = ippFindAttribute(response, "job-id", IPP_TAG_INTEGER);
     1031                        if(attr_job_id) {
     1032                                pjob->sysjob = attr_job_id->values[0].integer;
     1033                                DEBUG(5,("cups_job_submit: job-id %d\n", pjob->sysjob));
     1034                        } else {
     1035                                DEBUG(0,("Missing job-id attribute in IPP response"));
     1036                        }
    10291037                }
    10301038        } else {
Note: See TracChangeset for help on using the changeset viewer.