summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* s3-printing: Handled case when smbd spools a file on behalf of spoolss.Simo Sorce2010-07-275-35/+124
|
* s3-printing: Made print_job_start more robust.Simo Sorce2010-07-274-95/+168
| | | | | | | Explicitly return ntstatus errors instead of relying on elusive errno. Split the function to make it easier to follow. Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Moved remaining prototypes to nt_printing.h.Andreas Schneider2010-07-272-18/+24
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Remove unused printer registry key functions.Andreas Schneider2010-07-272-503/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Removed unused security descriptor functions.Andreas Schneider2010-07-272-308/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Removed unused nt_forms.Andreas Schneider2010-07-272-369/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Removed unsuded c_setprinter functions.Andreas Schneider2010-07-272-68/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Removed unused free_a_printer function.Andreas Schneider2010-07-272-27/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Removed unused mod_a_printer functions.Andreas Schneider2010-07-272-315/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Removed unused get_a_printer functions.Andreas Schneider2010-07-272-531/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-smbd: Added code to print via spoolss.Simo Sorce2010-07-277-3/+354
|
* s3-spoolss: Removed wrong comment.Andreas Schneider2010-07-271-5/+0
| | | | | | This doesn't reflect the current implementation. Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Moved shared printing functions to nt_printing.hAndreas Schneider2010-07-274-33/+49
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Removed the last free_a_printer() call in spoolss_nt.c.Andreas Schneider2010-07-272-3/+2
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Removed unused set_printer_dataex().Simo Sorce2010-07-272-16/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Create and update DsSpooler values.Andreas Schneider2010-07-271-128/+271
|
* s3-spoolss: Use a temporary talloc context in update_printer.Andreas Schneider2010-07-271-24/+28
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Use the existing memory context for winreg_get_printer.Andreas Schneider2010-07-271-2/+2
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Don't return the printer devicemode in spoolss_EnumJobs.Andreas Schneider2010-07-271-8/+2
| | | | | | Jobs have their own DeviceMode, see print_job_devmode(). Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Fixed the driver unc strings for dependent files.Andreas Schneider2010-07-271-64/+162
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Use winreg_delete_printer_key to delete printers.Simo Sorce2010-07-274-34/+19
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Get rid of get_server_name.Simo Sorce2010-07-273-14/+1
| | | | | | This function was useless the structure is public and used everywhere. Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Converted printer publishing functions.Simo Sorce2010-07-274-119/+257
| | | | | | Use spoolss_PrintInfo2 and winreg calls. Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Convert print_driver_in_use.Simo Sorce2010-07-271-6/+12
| | | | | | Use spoolss_PrintInfo2 and winreg calls. Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Convert print_time_access_check.Simo Sorce2010-07-273-9/+18
| | | | | | use spoolss_PrintInfo2 and winreg calls Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Use spoolss_PrinterInfo2 in notify code.Simo Sorce2010-07-271-93/+119
|
* s3-spoolss: Convert do_drv_upgrade_printer() to winreg functions.Simo Sorce2010-07-271-23/+48
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Removed construct_dev_mode() function.Simo Sorce2010-07-272-39/+20
| | | | | | | Replace it with spoolss_create_default_devmode() or copy_devicemode() where needed. Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Use spoolss_PrinterInfo2 in construct_printer_driver_info_level.Simo Sorce2010-07-271-8/+11
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Use spoolss_PrinterInfo2 for job info.Simo Sorce2010-07-271-28/+30
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Migrated driver functions to winreg.Simo Sorce2010-07-273-615/+177
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Set c_setprinter always to 0.Andreas Schneider2010-07-272-7/+1
| | | | | | | This value is only used for the well known printers list which Samba doesn't implement. Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Migrated spoolss_DeletePrinter to cleanup winreg keys.Andreas Schneider2010-07-271-0/+8
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Migrated spoolss_GetPrinter and spoolss_EnumPrinters to ↵Andreas Schneider2010-07-271-98/+133
| | | | | | winreg_update_printer. Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Migrated spoolss_OpenPrinter to create defaults with ↵Andreas Schneider2010-07-271-48/+50
| | | | | | winreg_create_printer. Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Removed unused function printer_info2_to_nt_printer_info2().Andreas Schneider2010-07-271-35/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Removed unused function convert_printer_info().Andreas Schneider2010-07-271-32/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Migrated spoolss_AddPrinter and spoolss_SetPrinter.Andreas Schneider2010-07-273-232/+173
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Migrated spoolss_Forms to use the winreg changeid function.Andreas Schneider2010-07-271-68/+39
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Migrated spoolss_GetForm to the winreg function.Andreas Schneider2010-07-271-70/+4
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Migrated spoolss_SetForm to the winreg function.Andreas Schneider2010-07-271-13/+6
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Migrated spoolss_DeleteForm to the winreg function.Andreas Schneider2010-07-271-19/+4
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Migrated spoolss_AddForm to the winreg function.Andreas Schneider2010-07-271-27/+2
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Migrated spoolss_EnumForms to the winreg function.Andreas Schneider2010-07-271-77/+8
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Migrated spoolss_DeletePrinterKey to the winreg functions.Andreas Schneider2010-07-271-14/+15
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Migrated spoolss_DeletePrinterDataEx to the winreg functions.Andreas Schneider2010-07-271-22/+15
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Migrated spoolss_EnumPrinterKey to the winreg functions.Andreas Schneider2010-07-271-45/+7
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Migrated spoolss_EnumPrinterDataEx to the winreg functions.Andreas Schneider2010-07-271-90/+7
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Migrated spoolss_GetPrinterDataEx to the winreg functions.Andreas Schneider2010-07-271-39/+36
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Migrated spoolss_SetPrinterDataEx to the winreg functions.Andreas Schneider2010-07-271-28/+92
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>