summaryrefslogtreecommitdiff
path: root/source3/rpc_server
AgeCommit message (Collapse)AuthorFilesLines
2009-03-18s3-spoolss: fix _spoolss_GetPrinterData printerserver handle query error code.Günther Deschner1-1/+1
When _spoolss_GetPrinterData receives a query on a printserver handle for a value that we have not stored or do not provide, we need to return WERR_INVALID_PARAM, not WERR_BADFILE. Tested with w2k and w2k3 servers. Found by torture test. Guenther
2009-03-18s3-spoolss: fix _spoolss_EnumPrinterDataEx error path.Günther Deschner1-0/+4
When a windows clients queries the "" key, we need to make sure to return with the appropriate error (WERR_INVALID_PARAM in that case), and not fall through to the buffer size handling macros. Found by torture test. Guenther
2009-03-18spoolss: add my copyright.Günther Deschner1-0/+1
Guenther
2009-03-18s3-spoolss: remove rpc_server/srv_spoolss.c alltogether.Günther Deschner1-591/+0
Guenther
2009-03-18s3-spoolss: use pidl for _spoolss_EnumPrinterDataEx.Günther Deschner2-114/+60
Please note that this has been the last call in samba3 that was using hand-marshalled rpc. With this commit all named pipe rpc services in samba3 have now fully moved to pidl generated code :-) Guenther
2009-03-18s3-spoolss: use printer and job notify enums provided by idl.Günther Deschner1-92/+92
Guenther
2009-03-18s3-spoolss: fix spoolss server after spoolss_Field changes.Günther Deschner1-11/+11
Guenther
2009-03-18s3-spoolss: remove custom syntax_spoolss and use the syntax defined in IDL.Günther Deschner1-1/+1
Guenther
2009-03-18s3-spoolss: add registry_value_to_printer_enum_value.Günther Deschner1-0/+31
Guenther
2009-03-18s3-spoolss: add SPOOLSS_BUFFER_ARRAY macro.Günther Deschner1-0/+3
Guenther
2009-03-17s3-spoolss: remove (disabled) enum_all_printers_info_1_remote.Günther Deschner1-70/+0
Jerry, please check. I do not understand how this could work and in it's current form, we cannot make this even compile anymore, I'm afraid :) I think it is safe to remove. Guenther
2009-03-17s3-spoolss: remove SPL Port definitions now in IDL.Günther Deschner1-5/+5
Guenther
2009-03-17s3-spoolss: rename convert_printer_info_new to convert_printer_info.Günther Deschner1-5/+5
Guenther
2009-03-17s3-spoolss: rename convert_nt_devicemode_new to convert_nt_devicemode.Günther Deschner1-64/+5
Guenther
2009-03-17s3-spoolss: rename construct_dev_mode_new to construct_dev_mode.Günther Deschner1-48/+7
Guenther
2009-03-17s3-spoolss: rename temporary convert_devicemode_new function.Günther Deschner1-87/+14
Guenther
2009-03-17Convert np_read to tevent_reqVolker Lendecke1-29/+32
2009-03-17Convert np_write to tevent_reqVolker Lendecke1-39/+30
2009-03-17s3-spoolss: remove unused init_unistr_array().Günther Deschner1-73/+0
Guenther
2009-03-17s3-spoolss: remove unused get_printer_dataex().Günther Deschner1-46/+0
Guenther
2009-03-17s3-spoolss: use pidl for _spoolss_EnumPrinterKey.Günther Deschner2-68/+49
Guenther
2009-03-17s3-spoolss: cleanup _spoolss_SetPrinterDataEx a little.Günther Deschner1-25/+26
Guenther
2009-03-17s3-spoolss: cleanup _spoolss_GetPrinterDataEx a little.Günther Deschner1-33/+37
Guenther
2009-03-17s3-spoolss: use pidl for _spoolss_EnumPrinterData.Günther Deschner2-112/+50
Guenther
2009-03-17s3-spoolss: use pidl for _spoolss_SetPrinterData.Günther Deschner2-70/+44
Guenther
2009-03-17s3-spoolss: use pidl for _spoolss_GetPrinterData.Günther Deschner2-176/+108
Guenther
2009-03-17s3-spoolss: add push_spoolss_PrinterData().Günther Deschner1-16/+0
Guenther
2009-03-17s3-spoolss: add pull_spoolss_PrinterData().Günther Deschner1-0/+16
Guenther
2009-03-13s3-spoolss: remove some unused functions.Günther Deschner1-405/+0
Guenther
2009-03-13s3-spoolss: use pidl for _spoolss_GetPrinter.Günther Deschner2-213/+162
Guenther
2009-03-13s3-spoolss: use snum_is_shared_printer (allows to make code a little easier toGünther Deschner1-50/+54
read). Guenther
2009-03-13s3-spoolss: add snum_is_shared_printer fn.Günther Deschner1-0/+8
Guenther
2009-03-13s3-spoolss: use pidl for _spoolss_EnumPrinters.Günther Deschner2-182/+288
Guenther
2009-03-13s3-spoolss: remove old spoolss_GetPrinterDriver2.Günther Deschner1-218/+0
Guenther
2009-03-13s3-spoolss: use pidl for _spoolss_GetPrinterDriver2.Günther Deschner2-230/+171
Guenther
2009-03-13s3-spoolss: use pidl for _spoolss_EnumPrinterDrivers.Günther Deschner2-213/+326
Guenther
2009-03-13s3-spoolss: remove old spoolss_GetJob and spoolss_EnumJob.Günther Deschner1-72/+0
Guenther
2009-03-13s3-spoolss: use pidl for _spoolss_GetJob.Günther Deschner2-159/+91
Guenther
2009-03-13s3-spoolss: use pidl for _spoolss_EnumJobs.Günther Deschner2-135/+201
Guenther
2009-03-13s3-spoolss: add construct_dev_mode_new.Günther Deschner1-0/+109
Guenther
2009-03-13s3-spoolss: use macros for _spoolss_GetForm and split out level 1 get.Günther Deschner1-73/+72
Guenther
2009-03-13s3-spoolss: use macros for _spoolss_EnumForms and split out level 1 enum.Günther Deschner1-61/+91
Guenther
2009-03-13s3-spoolss: use macros for _spoolss_GetPrintProcessorDirectory.Günther Deschner1-14/+8
Guenther
2009-03-13s3-spoolss: use macros for _spoolss_GetPrinterDriverDirectory.Günther Deschner1-14/+8
Guenther
2009-03-13s3-spoolss: use macros for _spoolss_EnumMonitors.Günther Deschner1-30/+21
Guenther
2009-03-13s3-spoolss: use macros for _spoolss_EnumPrintProcDataTypes.Günther Deschner1-12/+14
Guenther
2009-03-13s3-spoolss: use macros for _spoolss_EnumPorts.Günther Deschner1-32/+21
Guenther
2009-03-13s3-spoolss: use macros for _spoolss_EnumPrintProcessors.Günther Deschner1-12/+18
Guenther
2009-03-13s3-spoolss: add macros from s4 spoolss server.Günther Deschner1-0/+10
Guenther
2009-03-12s3-spoolss: make jobname a const char * in print_job_start().Günther Deschner1-1/+1
Guenther