summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-07-27s3-printing: Moved printing.c headers to include/printing.h.Simo Sorce4-31/+36
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Use WERROR for print_job_delete.Simo Sorce3-22/+31
And also check for PJOB_SMBD_SPOOLING in print_job_write. Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Removed unused printfsp.c.Simo Sorce3-149/+2
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-smbd: Migrated to new spoolss functions for printing.Simo Sorce8-31/+22
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Handled case when smbd spools a file on behalf of spoolss.Simo Sorce5-35/+124
2010-07-27s3-printing: Made print_job_start more robust.Simo Sorce4-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>
2010-07-27s3-printing: Moved remaining prototypes to nt_printing.h.Andreas Schneider2-18/+24
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Remove unused printer registry key functions.Andreas Schneider2-503/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Removed unused security descriptor functions.Andreas Schneider2-308/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Removed unused nt_forms.Andreas Schneider2-369/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Removed unsuded c_setprinter functions.Andreas Schneider2-68/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Removed unused free_a_printer function.Andreas Schneider2-27/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Removed unused mod_a_printer functions.Andreas Schneider2-315/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Removed unused get_a_printer functions.Andreas Schneider2-531/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-smbd: Added code to print via spoolss.Simo Sorce7-3/+354
2010-07-27s3-spoolss: Removed wrong comment.Andreas Schneider1-5/+0
This doesn't reflect the current implementation. Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Moved shared printing functions to nt_printing.hAndreas Schneider4-33/+49
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Removed the last free_a_printer() call in spoolss_nt.c.Andreas Schneider2-3/+2
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Removed unused set_printer_dataex().Simo Sorce2-16/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Create and update DsSpooler values.Andreas Schneider1-128/+271
2010-07-27s3-spoolss: Use a temporary talloc context in update_printer.Andreas Schneider1-24/+28
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Use the existing memory context for winreg_get_printer.Andreas Schneider1-2/+2
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Don't return the printer devicemode in spoolss_EnumJobs.Andreas Schneider1-8/+2
Jobs have their own DeviceMode, see print_job_devmode(). Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Fixed the driver unc strings for dependent files.Andreas Schneider1-64/+162
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Use winreg_delete_printer_key to delete printers.Simo Sorce4-34/+19
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Get rid of get_server_name.Simo Sorce3-14/+1
This function was useless the structure is public and used everywhere. Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Converted printer publishing functions.Simo Sorce4-119/+257
Use spoolss_PrintInfo2 and winreg calls. Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Convert print_driver_in_use.Simo Sorce1-6/+12
Use spoolss_PrintInfo2 and winreg calls. Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Convert print_time_access_check.Simo Sorce3-9/+18
use spoolss_PrintInfo2 and winreg calls Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Use spoolss_PrinterInfo2 in notify code.Simo Sorce1-93/+119
2010-07-27s3-spoolss: Convert do_drv_upgrade_printer() to winreg functions.Simo Sorce1-23/+48
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Removed construct_dev_mode() function.Simo Sorce2-39/+20
Replace it with spoolss_create_default_devmode() or copy_devicemode() where needed. Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Use spoolss_PrinterInfo2 in construct_printer_driver_info_level.Simo Sorce1-8/+11
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Use spoolss_PrinterInfo2 for job info.Simo Sorce1-28/+30
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated driver functions to winreg.Simo Sorce3-615/+177
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Set c_setprinter always to 0.Andreas Schneider2-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>
2010-07-27s3-spoolss: Migrated spoolss_DeletePrinter to cleanup winreg keys.Andreas Schneider1-0/+8
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_GetPrinter and spoolss_EnumPrinters to ↵Andreas Schneider1-98/+133
winreg_update_printer. Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_OpenPrinter to create defaults with ↵Andreas Schneider1-48/+50
winreg_create_printer. Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Removed unused function printer_info2_to_nt_printer_info2().Andreas Schneider1-35/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Removed unused function convert_printer_info().Andreas Schneider1-32/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_AddPrinter and spoolss_SetPrinter.Andreas Schneider3-232/+173
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_Forms to use the winreg changeid function.Andreas Schneider1-68/+39
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_GetForm to the winreg function.Andreas Schneider1-70/+4
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_SetForm to the winreg function.Andreas Schneider1-13/+6
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_DeleteForm to the winreg function.Andreas Schneider1-19/+4
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_AddForm to the winreg function.Andreas Schneider1-27/+2
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_EnumForms to the winreg function.Andreas Schneider1-77/+8
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_DeletePrinterKey to the winreg functions.Andreas Schneider1-14/+15
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_DeletePrinterDataEx to the winreg functions.Andreas Schneider1-22/+15
Signed-off-by: Jim McDonough <jmcd@samba.org>