Andreas Schneider [Wed, 28 Jul 2010 07:46:43 +0000 (09:46 +0200)]
s3-rpc_server: Use struct pipes_struct.
Andreas Schneider [Wed, 28 Jul 2010 07:23:25 +0000 (09:23 +0200)]
pidl: Use struct pipes_struct.
Andreas Schneider [Wed, 30 Jun 2010 11:18:21 +0000 (13:18 +0200)]
s3-lib: Remove redefinition of RL_COMPLETION_CAST.
This is already defined in replace/system/readline.h.
Karolin Seeger [Wed, 28 Jul 2010 07:27:43 +0000 (09:27 +0200)]
WHATSNEW: Update changes.
Thanks to Simo for providing the summary!
Karolin
Volker Lendecke [Tue, 27 Jul 2010 08:59:55 +0000 (10:59 +0200)]
s3: Remove a typedef (struct file_info)
Andreas Schneider [Tue, 27 Jul 2010 10:27:54 +0000 (12:27 +0200)]
s3-spoolss: Fixed FILL_DRIVER_STRING leading to wrong results.
Simo Sorce [Mon, 26 Jul 2010 22:28:15 +0000 (18:28 -0400)]
s3-spoolss: Avoid segfault, check drivername is actually not NULL.
Simo Sorce [Mon, 26 Jul 2010 17:14:03 +0000 (19:14 +0200)]
s3-spoolss: Fixed a possible segfault in winreg_get_printer.
Andreas Schneider [Mon, 26 Jul 2010 16:12:13 +0000 (18:12 +0200)]
s3-spoolss: Correctly set the default values.
Andreas Schneider [Tue, 15 Jun 2010 11:37:44 +0000 (13:37 +0200)]
s3-printing: Added automatic migration of printing tdbs.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Wed, 30 Jun 2010 08:40:24 +0000 (10:40 +0200)]
s3-spoolss: Move the standard mappings to spoolss.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Wed, 30 Jun 2010 08:39:43 +0000 (10:39 +0200)]
s3-lib: Make the standard_mapping parameter const.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Wed, 30 Jun 2010 08:25:08 +0000 (10:25 +0200)]
s3-spoolss: Remove the program global current_user_info.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Tue, 29 Jun 2010 13:05:00 +0000 (15:05 +0200)]
s3-spoolss: Remove unused MAGIC_DISPLAY_FREQUENCY
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Mon, 28 Jun 2010 07:57:41 +0000 (09:57 +0200)]
s4-torture: Enable tests with keynames including a slash.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Tue, 15 Jun 2010 11:37:44 +0000 (13:37 +0200)]
s3-printing: Added automatic migration of printing tdbs.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Tue, 15 Jun 2010 09:48:12 +0000 (11:48 +0200)]
s3-printing: Move all tdb upgrade functions to a separate file.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Simo Sorce [Fri, 7 May 2010 09:03:32 +0000 (05:03 -0400)]
s3-smbd: Convert reply_printqueue to use spoolss.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Tue, 1 Jun 2010 15:09:21 +0000 (17:09 +0200)]
Revert "s4-smbtorture: skip driverName and printerName DsSpooler tests for now."
This reverts commit
23eb2888d94b34822e4c49b1d62f4bd3fac43fcf.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Tue, 8 Jun 2010 11:03:22 +0000 (13:03 +0200)]
s3-spoolss: Create winprint print processor key.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Simo Sorce [Fri, 7 May 2010 14:37:48 +0000 (10:37 -0400)]
s3-printing: Removed unused function print_job_fd().
Signed-off-by: Jim McDonough <jmcd@samba.org>
Simo Sorce [Fri, 7 May 2010 11:35:23 +0000 (07:35 -0400)]
s3-smbd: Use the right check to test if we can print.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Simo Sorce [Fri, 7 May 2010 12:01:13 +0000 (08:01 -0400)]
s3-printing: Moved printing.c headers to include/printing.h.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Simo Sorce [Wed, 5 May 2010 12:56:46 +0000 (08:56 -0400)]
s3-spoolss: Use WERROR for print_job_delete.
And also check for PJOB_SMBD_SPOOLING in print_job_write.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Simo Sorce [Fri, 7 May 2010 11:45:25 +0000 (07:45 -0400)]
s3-printing: Removed unused printfsp.c.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Simo Sorce [Tue, 4 May 2010 08:28:48 +0000 (04:28 -0400)]
s3-smbd: Migrated to new spoolss functions for printing.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Simo Sorce [Tue, 4 May 2010 06:51:12 +0000 (02:51 -0400)]
s3-printing: Handled case when smbd spools a file on behalf of spoolss.
Simo Sorce [Sat, 1 May 2010 21:42:52 +0000 (17:42 -0400)]
s3-printing: Made print_job_start more robust.
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>
Andreas Schneider [Tue, 11 May 2010 09:14:55 +0000 (11:14 +0200)]
s3-printing: Moved remaining prototypes to nt_printing.h.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Tue, 11 May 2010 09:07:36 +0000 (11:07 +0200)]
s3-printing: Remove unused printer registry key functions.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Tue, 11 May 2010 09:02:59 +0000 (11:02 +0200)]
s3-printing: Removed unused security descriptor functions.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Tue, 11 May 2010 08:55:20 +0000 (10:55 +0200)]
s3-printing: Removed unused nt_forms.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Tue, 11 May 2010 08:52:11 +0000 (10:52 +0200)]
s3-printing: Removed unsuded c_setprinter functions.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Tue, 11 May 2010 08:49:46 +0000 (10:49 +0200)]
s3-printing: Removed unused free_a_printer function.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Tue, 11 May 2010 08:49:03 +0000 (10:49 +0200)]
s3-printing: Removed unused mod_a_printer functions.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Tue, 11 May 2010 08:46:10 +0000 (10:46 +0200)]
s3-printing: Removed unused get_a_printer functions.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Simo Sorce [Wed, 28 Apr 2010 22:55:20 +0000 (18:55 -0400)]
s3-smbd: Added code to print via spoolss.
Andreas Schneider [Mon, 10 May 2010 14:46:34 +0000 (16:46 +0200)]
s3-spoolss: Removed wrong comment.
This doesn't reflect the current implementation.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Mon, 10 May 2010 14:41:10 +0000 (16:41 +0200)]
s3-spoolss: Moved shared printing functions to nt_printing.h
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Mon, 10 May 2010 14:44:47 +0000 (16:44 +0200)]
s3-spoolss: Removed the last free_a_printer() call in spoolss_nt.c.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Simo Sorce [Fri, 7 May 2010 13:42:55 +0000 (09:42 -0400)]
s3-spoolss: Removed unused set_printer_dataex().
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Fri, 30 Apr 2010 08:35:08 +0000 (10:35 +0200)]
s3-spoolss: Create and update DsSpooler values.
Andreas Schneider [Fri, 30 Apr 2010 08:14:09 +0000 (10:14 +0200)]
s3-spoolss: Use a temporary talloc context in update_printer.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Thu, 29 Apr 2010 12:07:10 +0000 (14:07 +0200)]
s3-spoolss: Use the existing memory context for winreg_get_printer.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Wed, 28 Apr 2010 20:46:22 +0000 (22:46 +0200)]
s3-spoolss: Don't return the printer devicemode in spoolss_EnumJobs.
Jobs have their own DeviceMode, see print_job_devmode().
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Wed, 28 Apr 2010 10:41:23 +0000 (12:41 +0200)]
s3-spoolss: Fixed the driver unc strings for dependent files.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Simo Sorce [Mon, 26 Apr 2010 22:50:44 +0000 (18:50 -0400)]
s3-spoolss: Use winreg_delete_printer_key to delete printers.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Simo Sorce [Mon, 26 Apr 2010 22:33:20 +0000 (18:33 -0400)]
s3-spoolss: Get rid of get_server_name.
This function was useless the structure is public and used everywhere.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Simo Sorce [Mon, 26 Apr 2010 21:34:24 +0000 (17:34 -0400)]
s3-printing: Converted printer publishing functions.
Use spoolss_PrintInfo2 and winreg calls.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Simo Sorce [Mon, 26 Apr 2010 18:46:33 +0000 (14:46 -0400)]
s3-printing: Convert print_driver_in_use.
Use spoolss_PrintInfo2 and winreg calls.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Simo Sorce [Mon, 26 Apr 2010 17:51:33 +0000 (13:51 -0400)]
s3-printing: Convert print_time_access_check.
use spoolss_PrintInfo2 and winreg calls
Signed-off-by: Jim McDonough <jmcd@samba.org>
Simo Sorce [Mon, 26 Apr 2010 17:08:32 +0000 (13:08 -0400)]
s3-spoolss: Use spoolss_PrinterInfo2 in notify code.
Simo Sorce [Mon, 26 Apr 2010 15:56:00 +0000 (11:56 -0400)]
s3-spoolss: Convert do_drv_upgrade_printer() to winreg functions.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Simo Sorce [Mon, 26 Apr 2010 14:24:46 +0000 (10:24 -0400)]
s3-spoolss: Removed construct_dev_mode() function.
Replace it with spoolss_create_default_devmode() or
copy_devicemode() where needed.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Simo Sorce [Mon, 26 Apr 2010 13:30:10 +0000 (09:30 -0400)]
s3-spoolss: Use spoolss_PrinterInfo2 in construct_printer_driver_info_level.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Simo Sorce [Fri, 23 Apr 2010 21:58:10 +0000 (17:58 -0400)]
s3-spoolss: Use spoolss_PrinterInfo2 for job info.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Simo Sorce [Thu, 15 Apr 2010 00:48:00 +0000 (20:48 -0400)]
s3-spoolss: Migrated driver functions to winreg.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Mon, 26 Apr 2010 09:52:19 +0000 (11:52 +0200)]
s3-spoolss: Set c_setprinter always to 0.
This value is only used for the well known printers list which Samba
doesn't implement.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Thu, 22 Apr 2010 21:52:33 +0000 (23:52 +0200)]
s3-spoolss: Migrated spoolss_DeletePrinter to cleanup winreg keys.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Mon, 26 Apr 2010 09:53:25 +0000 (11:53 +0200)]
s3-spoolss: Migrated spoolss_GetPrinter and spoolss_EnumPrinters to winreg_update_printer.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Thu, 22 Apr 2010 08:59:27 +0000 (10:59 +0200)]
s3-spoolss: Migrated spoolss_OpenPrinter to create defaults with winreg_create_printer.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Fri, 7 May 2010 08:38:54 +0000 (10:38 +0200)]
s3-spoolss: Removed unused function printer_info2_to_nt_printer_info2().
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Fri, 7 May 2010 08:38:17 +0000 (10:38 +0200)]
s3-spoolss: Removed unused function convert_printer_info().
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Fri, 16 Apr 2010 09:35:05 +0000 (11:35 +0200)]
s3-spoolss: Migrated spoolss_AddPrinter and spoolss_SetPrinter.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Thu, 15 Apr 2010 13:20:42 +0000 (15:20 +0200)]
s3-spoolss: Migrated spoolss_Forms to use the winreg changeid function.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Thu, 1 Apr 2010 10:46:22 +0000 (12:46 +0200)]
s3-spoolss: Migrated spoolss_GetForm to the winreg function.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Thu, 1 Apr 2010 09:53:01 +0000 (11:53 +0200)]
s3-spoolss: Migrated spoolss_SetForm to the winreg function.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Wed, 31 Mar 2010 13:31:53 +0000 (15:31 +0200)]
s3-spoolss: Migrated spoolss_DeleteForm to the winreg function.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Wed, 31 Mar 2010 12:48:27 +0000 (14:48 +0200)]
s3-spoolss: Migrated spoolss_AddForm to the winreg function.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Wed, 31 Mar 2010 11:04:30 +0000 (13:04 +0200)]
s3-spoolss: Migrated spoolss_EnumForms to the winreg function.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Fri, 26 Mar 2010 12:22:57 +0000 (13:22 +0100)]
s3-spoolss: Migrated spoolss_DeletePrinterKey to the winreg functions.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Mon, 15 Mar 2010 11:30:32 +0000 (12:30 +0100)]
s3-spoolss: Migrated spoolss_DeletePrinterDataEx to the winreg functions.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Wed, 17 Mar 2010 15:38:52 +0000 (16:38 +0100)]
s3-spoolss: Migrated spoolss_EnumPrinterKey to the winreg functions.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Mon, 15 Mar 2010 13:01:01 +0000 (14:01 +0100)]
s3-spoolss: Migrated spoolss_EnumPrinterDataEx to the winreg functions.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Mon, 15 Mar 2010 11:28:09 +0000 (12:28 +0100)]
s3-spoolss: Migrated spoolss_GetPrinterDataEx to the winreg functions.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Mon, 15 Mar 2010 11:20:31 +0000 (12:20 +0100)]
s3-spoolss: Migrated spoolss_SetPrinterDataEx to the winreg functions.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Wed, 26 May 2010 09:27:28 +0000 (11:27 +0200)]
s3-registry: Redirect KEY_CONTROL_PRINTERS to KEY_WINNT_PRINTERS.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Thu, 8 Apr 2010 09:26:40 +0000 (11:26 +0200)]
s3-registry: Init all needed registry keys for printing.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Simo Sorce [Thu, 22 Apr 2010 20:53:15 +0000 (16:53 -0400)]
s3-spoolss: Migrated NT_DEVICEMODE to spoolss_DeviceMode.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Andreas Schneider [Fri, 26 Mar 2010 13:40:05 +0000 (14:40 +0100)]
s4-torture: Disable setting REG_BINARY printer data with size 0.
Signed-off-by: Jim McDonough <jmcd@samba.org>
Jeremy Allison [Tue, 27 Jul 2010 09:36:57 +0000 (02:36 -0700)]
Fix several places where talloc_asprintf returns were unchecked.
Jeremy.
Karolin Seeger [Tue, 27 Jul 2010 07:48:05 +0000 (09:48 +0200)]
WHATSNEW: Update changes.
Thanks to Jeremy for providing this summary!
Karolin
Jeremy Allison [Tue, 27 Jul 2010 07:23:37 +0000 (00:23 -0700)]
Second part of fix for bug 7578 - 'net idmap restore' fails to set HWM, causing duplicates.
Jeremy.
Karolin Seeger [Tue, 27 Jul 2010 07:02:36 +0000 (09:02 +0200)]
WHATSNEW: Update changes.
Thanks to Holger for providing!
Karolin
Justin Maggard [Tue, 27 Jul 2010 06:42:04 +0000 (08:42 +0200)]
s3: Fix bug 7578
Uninitialized variable read in _wbint_SetHWM
Volker Lendecke [Fri, 23 Jul 2010 18:08:58 +0000 (20:08 +0200)]
s3: Early start of an async nbench
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
Volker Lendecke [Mon, 26 Jul 2010 08:35:15 +0000 (10:35 +0200)]
s3: Convert cli_qpathinfo_streams to cli_qpathinfo_send
Volker Lendecke [Mon, 26 Jul 2010 08:08:38 +0000 (10:08 +0200)]
s3: Factor out parse_streams_blob
Volker Lendecke [Mon, 26 Jul 2010 07:41:25 +0000 (09:41 +0200)]
s3: Convert cli_qpathinfo_basic to cli_qpathinfo_send
Volker Lendecke [Mon, 26 Jul 2010 07:27:11 +0000 (09:27 +0200)]
s3: Convert cli_qpathinfo2 to cli_qpathinfo_send
Volker Lendecke [Mon, 26 Jul 2010 07:21:17 +0000 (09:21 +0200)]
s3: Use error status instead of cli_errstr
Volker Lendecke [Mon, 26 Jul 2010 20:57:47 +0000 (22:57 +0200)]
s3: Callers of cli_qpathinfo_recv might ignore the output
Volker Lendecke [Fri, 23 Jul 2010 10:22:23 +0000 (12:22 +0200)]
s3: Log the correct core path on Linux if core_pattern is set
Contributions from Bill Hymas, IBM
Volker Lendecke [Mon, 26 Jul 2010 13:04:52 +0000 (15:04 +0200)]
s3: fix a typo
Volker Lendecke [Mon, 26 Jul 2010 07:11:40 +0000 (09:11 +0200)]
s3: cli_qpathinfo2 expects at least 68 bytes
Volker Lendecke [Mon, 26 Jul 2010 06:34:35 +0000 (08:34 +0200)]
s3: Convert cli_qpathinfo1 to cli_qpathinfo
Volker Lendecke [Mon, 26 Jul 2010 05:49:58 +0000 (07:49 +0200)]
s3: Fix a structure mess-up
I wonder why the compiler did not complain -- maybe because
the structs have the same data members? No clue.
Volker Lendecke [Mon, 26 Jul 2010 05:47:39 +0000 (07:47 +0200)]
s3: Remove some unused struct members
Andrew Tridgell [Mon, 26 Jul 2010 01:15:14 +0000 (11:15 +1000)]
lib: added samba-util.pc creation
Thanks to Brad Hards for this patch
Volker Lendecke [Sun, 25 Jul 2010 19:32:13 +0000 (21:32 +0200)]
s3: Convert cli_get_ea_list_path to cli_qpathinfo_send