Ignore:
Timestamp:
Jun 29, 2011, 7:36:41 AM (14 years ago)
Author:
Herwig Bauernfeind
Message:

Samba 3.5: Update vendor to version 3.5.6

Location:
vendor/current/source3/rpc_client
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/source3/rpc_client/cli_pipe.c

    r427 r587  
    32143214        result->a_u.schannel_auth->seq_num = 0;
    32153215        result->a_u.schannel_auth->initiator = true;
    3216         result->a_u.schannel_auth->creds = creds;
     3216        result->a_u.schannel_auth->creds = netlogon_creds_copy(result, creds);
    32173217
    32183218        *presult = result;
     
    40454045        /*
    40464046         * The credentials on a new netlogon pipe are the ones we are passed
    4047          * in - reference them in
     4047         * in - copy them over
    40484048         */
    4049         result->dc = talloc_move(result, pdc);
     4049        result->dc = netlogon_creds_copy(result, *pdc);
     4050        if (result->dc == NULL) {
     4051                TALLOC_FREE(result);
     4052                return NT_STATUS_NO_MEMORY;
     4053        }
    40504054
    40514055        DEBUG(10,("cli_rpc_pipe_open_schannel_with_key: opened pipe %s to machine %s "
  • vendor/current/source3/rpc_client/init_spoolss.c

    r414 r587  
    7474        return WERR_OK;
    7575}
     76
     77/*******************************************************************
     78 ********************************************************************/
     79
     80void spoolss_printerinfo2_to_setprinterinfo2(const struct spoolss_PrinterInfo2 *i,
     81                                             struct spoolss_SetPrinterInfo2 *s)
     82{
     83        s->servername           = i->servername;
     84        s->printername          = i->printername;
     85        s->sharename            = i->sharename;
     86        s->portname             = i->portname;
     87        s->drivername           = i->drivername;
     88        s->comment              = i->comment;
     89        s->location             = i->location;
     90        s->devmode_ptr          = 0;
     91        s->sepfile              = i->sepfile;
     92        s->printprocessor       = i->printprocessor;
     93        s->datatype             = i->datatype;
     94        s->parameters           = i->parameters;
     95        s->secdesc_ptr          = 0;
     96        s->attributes           = i->attributes;
     97        s->priority             = i->priority;
     98        s->defaultpriority      = i->defaultpriority;
     99        s->starttime            = i->starttime;
     100        s->untiltime            = i->untiltime;
     101        s->status               = i->status;
     102        s->cjobs                = i->cjobs;
     103        s->averageppm           = i->averageppm;
     104}
Note: See TracChangeset for help on using the changeset viewer.