Changeset 590 for trunk/server/source3/rpc_client
- Timestamp:
- Jul 1, 2011, 8:40:10 AM (14 years ago)
- Location:
- trunk/server/source3/rpc_client
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/server/source3/rpc_client/cli_pipe.c
r429 r590 3214 3214 result->a_u.schannel_auth->seq_num = 0; 3215 3215 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); 3217 3217 3218 3218 *presult = result; … … 4045 4045 /* 4046 4046 * The credentials on a new netlogon pipe are the ones we are passed 4047 * in - reference them in4047 * in - copy them over 4048 4048 */ 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 } 4050 4054 4051 4055 DEBUG(10,("cli_rpc_pipe_open_schannel_with_key: opened pipe %s to machine %s " -
trunk/server/source3/rpc_client/init_spoolss.c
r414 r590 74 74 return WERR_OK; 75 75 } 76 77 /******************************************************************* 78 ********************************************************************/ 79 80 void 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.