summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_spoolss_nt.c
AgeCommit message (Collapse)AuthorFilesLines
2009-05-13s3-printing: no need to define struct table_node 4 times.Günther Deschner1-7/+1
Guenther
2009-05-06s3-printing: simplify print_queue helper functions and return WERROR.Günther Deschner1-9/+3
Guenther
2009-04-30s3-spoolss: avoid referring to uid 0 in spoolss server (use ↵Günther Deschner1-3/+3
sec_initial_uid() instead). Guenther
2009-04-27s3:registry: replace typedef REGISTRY_VALUE by struct regval_blobMichael Adam1-5/+5
Michael
2009-04-23Fix coverity #908, #909, uninitialized variable.Jeremy Allison1-2/+2
Jeremy.
2009-04-23Fix coverity #910, uninitialized variable.Jeremy Allison1-1/+1
Jeremy.
2009-04-21s3: Use common security_descriptor_equal().Jelmer Vernooij1-1/+1
2009-04-19Make "struct policy" private to srv_lsa_hnd.cVolker Lendecke1-1/+2
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