summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_spoolss_nt.c
AgeCommit message (Collapse)AuthorFilesLines
2010-07-28s3-spoolss: Use struct pipes_struct.Andreas Schneider1-123/+127
2010-07-27s3-spoolss: Fixed FILL_DRIVER_STRING leading to wrong results.Andreas Schneider1-2/+2
2010-07-27s3-spoolss: Avoid segfault, check drivername is actually not NULL.Simo Sorce1-0/+4
2010-07-27s3-printing: Added automatic migration of printing tdbs.Andreas Schneider1-4/+4
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Move the standard mappings to spoolss.Andreas Schneider1-2/+16
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Remove the program global current_user_info.Andreas Schneider1-15/+4
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Remove unused MAGIC_DISPLAY_FREQUENCYAndreas Schneider1-2/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Moved printing.c headers to include/printing.h.Simo Sorce1-0/+1
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Use WERROR for print_job_delete.Simo Sorce1-2/+9
And also check for PJOB_SMBD_SPOOLING in print_job_write. Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Handled case when smbd spools a file on behalf of spoolss.Simo Sorce1-3/+8
2010-07-27s3-printing: Made print_job_start more robust.Simo Sorce1-5/+14
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-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 Schneider1-0/+1
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Removed the last free_a_printer() call in spoolss_nt.c.Andreas Schneider1-1/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Removed unused set_printer_dataex().Simo Sorce1-13/+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 Sorce1-1/+4
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Get rid of get_server_name.Simo Sorce1-4/+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 Sorce1-2/+23
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 Sorce1-37/+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 Sorce1-89/+118
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Set c_setprinter always to 0.Andreas Schneider1-5/+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 Schneider1-222/+151
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>
2010-07-27s3-spoolss: Migrated spoolss_EnumPrinterKey to the winreg functions.Andreas Schneider1-45/+7
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_EnumPrinterDataEx to the winreg functions.Andreas Schneider1-90/+7
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_GetPrinterDataEx to the winreg functions.Andreas Schneider1-39/+36
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated spoolss_SetPrinterDataEx to the winreg functions.Andreas Schneider1-28/+92
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated NT_DEVICEMODE to spoolss_DeviceMode.Simo Sorce1-174/+46
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-13s3-dceprc: Store opnum in its own variableSimo Sorce1-1/+1
Signed-off-by: Günther Deschner <gd@samba.org>