summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_spoolss_nt.c
AgeCommit message (Collapse)AuthorFilesLines
2009-04-17s3-spoolss: remove some direct checks for 0 uid in AddForm,SetForm,DelForm.Günther Deschner1-4/+13
Also add some become_root()/unbecome_root() pairs which were missing IMHO. Guenther
2009-04-17s3-spoolss: add support for _spoolss_EnumPrinterDrivers() level 6.Günther Deschner1-1/+25
Guenther
2009-04-17s3-spoolss: add support for _spoolss_EnumPrinterDrivers() level 5.Günther Deschner1-0/+71
Guenther
2009-04-17s3-spoolss: add support for _spoolss_EnumPrinterDrivers() level 4.Günther Deschner1-0/+90
Guenther
2009-04-14s3-spoolss: Fix format of description string in spoolss_PrinterInfo1.Günther Deschner1-10/+6
This is what windows does and should get us closer to show the appropriate printer location string in explorer. Guenther
2009-04-13s3-spoolss: fix typo in fill_printer_driver_info3().Günther Deschner1-1/+1
Guenther
2009-04-13s3-spoolss: Fix permission checks for _spoolss_AddForm,SetForm and DelForm.Günther Deschner1-12/+34
Found by smbtorture test. Guenther
2009-04-13s3-spoolss: use enumprinterdrivers_level() for level 3 enum.Günther Deschner1-67/+6
Guenther
2009-04-13s3-spoolss: use enumprinterdrivers_level() for level 2 enum.Günther Deschner1-66/+6
Guenther
2009-04-13s3-spoolss: use enumprinterdrivers_level() for level 1 enum.Günther Deschner1-67/+7
Guenther
2009-04-13s3-spoolss: add generic enumprinterdrivers_level function.Günther Deschner1-0/+86
Guenther
2009-04-10s3-spoolss: implement dummy _spoolss_AddPort().Günther Deschner1-11/+12
Guenther
2009-04-10s3-spoolss: add support for level 8 in _spoolss_GetPrinter().Günther Deschner1-0/+37
Guenther
2009-04-07s3-spoolss: set servername to global_myname() in set_printer_hnd_name().Günther Deschner1-1/+1
This allows spoolss_OpenPrinterEx to open a printer by printername. Now the Samba3 spoolss server passes the RPC-SPOOLSS-WIN test. Guenther
2009-04-02s3-spoolss: implement _spoolss_GetPrinterDriver2 level 101 (Bug #5140).Günther Deschner1-5/+238
Guenther
2009-03-25s3-spoolss: implement enumprinters_level0.Günther Deschner1-0/+24
Guenther
2009-03-20s3-spoolss: _spoolss_EnumPrinters level 3 always returns WERR_UNKNOWN_LEVEL.Günther Deschner1-3/+0
Guenther
2009-03-20s3-spoolss: implement enumprinters_level4.Günther Deschner1-1/+24
Guenther
2009-03-20s3-spoolss: implement enumprinters_level5.Günther Deschner1-2/+8
Guenther
2009-03-20s3-spoolss: use enum_all_printers_info_level for level 1 and 2.Günther Deschner1-110/+8
Guenther
2009-03-20s3-spoolss: add enum_all_printers_info_level().Günther Deschner1-0/+77
Guenther
2009-03-20s3-spoolss: apply some const in spoolss server.Günther Deschner1-35/+35
Guenther
2009-03-20s3-spoolss: pure comsetics.Günther Deschner1-131/+128
sorry, I just need to do that. Guenther
2009-03-18s3: remove POLICY_HND.Günther Deschner1-117/+110
Guenther
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: use pidl for _spoolss_EnumPrinterDataEx.Günther Deschner1-93/+59
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-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 Deschner1-47/+48
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 Deschner1-91/+49
Guenther
2009-03-17s3-spoolss: use pidl for _spoolss_SetPrinterData.Günther Deschner1-49/+43
Guenther
2009-03-17s3-spoolss: use pidl for _spoolss_GetPrinterData.Günther Deschner1-154/+107
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