summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
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>
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-registry: Redirect KEY_CONTROL_PRINTERS to KEY_WINNT_PRINTERS.Andreas Schneider1-1018/+41
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-registry: Init all needed registry keys for printing.Andreas Schneider2-3/+6
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated NT_DEVICEMODE to spoolss_DeviceMode.Simo Sorce6-487/+168
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27Fix several places where talloc_asprintf returns were unchecked.Jeremy Allison1-0/+13
Jeremy.
2010-07-27Second part of fix for bug 7578 - 'net idmap restore' fails to set HWM, ↵Jeremy Allison1-1/+1
causing duplicates. Jeremy.
2010-07-27s3: Fix bug 7578Justin Maggard1-1/+1
Uninitialized variable read in _wbint_SetHWM
2010-07-26s3: Early start of an async nbenchVolker Lendecke4-0/+501
The current nbench implementations have the problem that they fork a child per simulated client. With hundreds or thousands of clients this can put quite some load on the client. This test (when finished) will read the standard dbench client.txt and run completely async from within one process. Volker
2010-07-26s3: Convert cli_qpathinfo_streams to cli_qpathinfo_sendVolker Lendecke3-50/+110
2010-07-26s3: Factor out parse_streams_blobVolker Lendecke1-8/+22
2010-07-26s3: Convert cli_qpathinfo_basic to cli_qpathinfo_sendVolker Lendecke2-49/+92