amitay/samba.git
13 years agos3-rpc: Use struct pipes_struct. release-3-6-0pre1 samba-3.6.0pre1
Andreas Schneider [Wed, 28 Jul 2010 09:06:36 +0000 (11:06 +0200)]
s3-rpc: Use struct pipes_struct.
(cherry picked from commit 6ffd7dc7805f572bcedf0693514f6aeb7be861f9)
(cherry picked from commit f8cd9511b101a563d786e778369daa4877d0955f)

13 years agos3-include: Use struct pipes struct and get rid of the typedef.
Andreas Schneider [Wed, 28 Jul 2010 08:28:57 +0000 (10:28 +0200)]
s3-include: Use struct pipes struct and get rid of the typedef.
(cherry picked from commit f7a1453957223ead6ca2297dc57ce8c353f7fe5d)
(cherry picked from commit e4b330917aa6003de007631d7406e62b281fc9fa)

13 years agos3-winbind: Use struct pipes_struct.
Andreas Schneider [Wed, 28 Jul 2010 08:28:36 +0000 (10:28 +0200)]
s3-winbind: Use struct pipes_struct.
(cherry picked from commit 97dba0c0d957e17ac89e3c78eb5749621eab2a43)
(cherry picked from commit bc3e7284c292907db0854b83cee12b4b3ff257a4)

13 years agos3-uid: Use struct pipes_struct.
Andreas Schneider [Wed, 28 Jul 2010 08:28:18 +0000 (10:28 +0200)]
s3-uid: Use struct pipes_struct.
(cherry picked from commit 6457f814f50a00496384aad1712aba53d2609f63)
(cherry picked from commit df3d8dd2864cd9f42ad2ff6605c8250367ed12b2)

13 years agos3-wkssvc: Use struct pipes_struct.
Andreas Schneider [Wed, 28 Jul 2010 08:27:55 +0000 (10:27 +0200)]
s3-wkssvc: Use struct pipes_struct.
(cherry picked from commit d34fc3d1682c85c7d36fab168bc75bbb61b2931b)
(cherry picked from commit 131db0326031eacf9cf9a773785828fd1f0dfbdc)

13 years agos3-winreg: Use struct pipes_struct.
Andreas Schneider [Wed, 28 Jul 2010 08:20:10 +0000 (10:20 +0200)]
s3-winreg: Use struct pipes_struct.
(cherry picked from commit 31a4240b8dd4d3f6b7f181b4d70284833589f696)
(cherry picked from commit f2f2e36dcd2d1cf67e70ea7c81aac4e0879d2f2f)

13 years agos3-svcctl: Use struct pipes_struct.
Andreas Schneider [Wed, 28 Jul 2010 08:19:26 +0000 (10:19 +0200)]
s3-svcctl: Use struct pipes_struct.
(cherry picked from commit ce59e69bcab308c998d8a54a68c805444d6e93ee)
(cherry picked from commit 5d500282df204828519ef070d07f4393e95b7c39)

13 years agos3-srvsvc: Use struct pipes_struct.
Andreas Schneider [Wed, 28 Jul 2010 08:19:05 +0000 (10:19 +0200)]
s3-srvsvc: Use struct pipes_struct.
(cherry picked from commit 0fee377a52762a36a435e3fe2ffe0853cdac0bef)
(cherry picked from commit 01ca496b5db2f8b4fd7082f9d1882af9fd391e4e)

13 years agos3-spoolss: Use struct pipes_struct.
Andreas Schneider [Wed, 28 Jul 2010 08:18:08 +0000 (10:18 +0200)]
s3-spoolss: Use struct pipes_struct.
(cherry picked from commit 64fbaad942d12b343badaf8e45115a5b5ce5ea0f)
(cherry picked from commit aa83c863c706dd2fea4e7ae1398d47376e0ac857)

13 years agos3-samr: Use struct pipes_struct.
Andreas Schneider [Wed, 28 Jul 2010 08:17:21 +0000 (10:17 +0200)]
s3-samr: Use struct pipes_struct.
(cherry picked from commit c3817fe9d220a3cee3d651db2808212de2b7f2cb)
(cherry picked from commit 190baa7cf01099cc550a6d719f30d986e6dd5fcb)

13 years agos3-rpc_pipe: Use struct pipes_struct.
Andreas Schneider [Wed, 28 Jul 2010 08:16:34 +0000 (10:16 +0200)]
s3-rpc_pipe: Use struct pipes_struct.
(cherry picked from commit 667d43d4c8916043e6474418a57aaa0d03aee078)
(cherry picked from commit 47b14fcf690f01867fcfb935a798ff04ede9b791)

13 years agos3-ntsvcs: Use struct pipes_struct.
Andreas Schneider [Wed, 28 Jul 2010 08:15:45 +0000 (10:15 +0200)]
s3-ntsvcs: Use struct pipes_struct.
(cherry picked from commit 33d30926d1a9c2f077bdbc186c34ee01d9d2e74b)
(cherry picked from commit 00578f40119167c1381c2c1f5e45c60cec2b0fad)

13 years agos3-netlogon: Use struct pipes_struct.
Andreas Schneider [Wed, 28 Jul 2010 07:49:07 +0000 (09:49 +0200)]
s3-netlogon: Use struct pipes_struct.
(cherry picked from commit 3fd138fae33529fbba2da4853c10f026a6b11fb4)
(cherry picked from commit 5b68707c918016c402ab2c4851a73c859c2ef5fc)

13 years agos3-lsa: Use struct pipes_struct.
Andreas Schneider [Wed, 28 Jul 2010 07:48:42 +0000 (09:48 +0200)]
s3-lsa: Use struct pipes_struct.
(cherry picked from commit 872f9655587a0bb314172797c799cd5d2a0b4e8f)
(cherry picked from commit d1c7e525ca523fad41e7a8b01f2f3dbeec08ecfc)

13 years agos3-initshutdown: Use struct pipes_struct.
Andreas Schneider [Wed, 28 Jul 2010 07:48:25 +0000 (09:48 +0200)]
s3-initshutdown: Use struct pipes_struct.
(cherry picked from commit 35d629d54ce30a4dbf6a53f4616ed77dd0033a1b)
(cherry picked from commit 30ed816d6571906b02f380e64daa197fc0814678)

13 years agos3-eventlog: Use struct pipes_struct.
Andreas Schneider [Wed, 28 Jul 2010 07:48:08 +0000 (09:48 +0200)]
s3-eventlog: Use struct pipes_struct.
(cherry picked from commit ba023aeaa95161029a0bec7dd79116a0c9db22f7)
(cherry picked from commit 11d086bc79ec98d0905afb6f07c8648237d7aa3a)

13 years agos3-echo: Use struct pipes_struct.
Andreas Schneider [Wed, 28 Jul 2010 07:47:40 +0000 (09:47 +0200)]
s3-echo: Use struct pipes_struct.
(cherry picked from commit c9e37375361714dce009c5305e185e73a483a7eb)
(cherry picked from commit fd9d1240864f6d8d15cd80d069960428b522bb1f)

13 years agos3-dssetup: Use struct pipes_struct.
Andreas Schneider [Wed, 28 Jul 2010 07:47:25 +0000 (09:47 +0200)]
s3-dssetup: Use struct pipes_struct.
(cherry picked from commit 96786a7df036d095649de300be4f37f8bcb70a6c)
(cherry picked from commit ce1b9cf7b0f2da4c8104eab4dddca393b7ef832a)

13 years agos3-dfs: Use struct pipes_struct.
Andreas Schneider [Wed, 28 Jul 2010 07:47:04 +0000 (09:47 +0200)]
s3-dfs: Use struct pipes_struct.
(cherry picked from commit 2956bc986f319f29bce3262ae52dd990d938146c)
(cherry picked from commit 6575deed99341fe0390ba362fea9a6659cc195d5)

13 years agos3-rpc_server: Use struct pipes_struct.
Andreas Schneider [Wed, 28 Jul 2010 07:46:43 +0000 (09:46 +0200)]
s3-rpc_server: Use struct pipes_struct.
(cherry picked from commit 46397f788bf283f7eb0f26e6eeb6a2926d2769bc)
(cherry picked from commit cb5bdb37a0ee693eff4491e90e60b9d1d5c127d9)

13 years agopidl: Use struct pipes_struct.
Andreas Schneider [Wed, 28 Jul 2010 07:23:25 +0000 (09:23 +0200)]
pidl: Use struct pipes_struct.
(cherry picked from commit c1e81686af605bf0dafb45c316bfca3cd1a2cf9a)
(cherry picked from commit 78590fa79a7ebf418adda410435cf2cb026a24f2)

13 years agos3-lib: Remove redefinition of RL_COMPLETION_CAST.
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.
(cherry picked from commit dc87fbcb0f9a6ce1d722c62dafee540e75ba310e)
(cherry picked from commit cc54f68359fd74bfb3fa8bdb31faff30215c8899)

13 years agos3/configure: Disable the automatic merged build.
Karolin Seeger [Wed, 15 Apr 2009 07:52:23 +0000 (09:52 +0200)]
s3/configure: Disable the automatic merged build.

Karolin
(cherry picked from commit 27833f5ec12944ac3e521ee62856654c8cca9eba)

13 years agoVERSION: Bump version to 3.6.0pre1.
Karolin Seeger [Wed, 28 Jul 2010 07:47:55 +0000 (09:47 +0200)]
VERSION: Bump version to 3.6.0pre1.

Karolin
(cherry picked from commit 8c0c3940986945406ca9f35112498eacddaed5c9)

13 years agoVERSION: Adapt version string.
Karolin Seeger [Wed, 28 Jul 2010 07:45:39 +0000 (09:45 +0200)]
VERSION: Adapt version string.

Karolin

13 years agoWHATSNEW: Update changes.
Karolin Seeger [Wed, 28 Jul 2010 07:27:43 +0000 (09:27 +0200)]
WHATSNEW: Update changes.

Thanks to Simo for providing the summary!

Karolin

13 years agos3: Remove a typedef (struct file_info)
Volker Lendecke [Tue, 27 Jul 2010 08:59:55 +0000 (10:59 +0200)]
s3: Remove a typedef (struct file_info)

13 years agos3-spoolss: Fixed FILL_DRIVER_STRING leading to wrong results.
Andreas Schneider [Tue, 27 Jul 2010 10:27:54 +0000 (12:27 +0200)]
s3-spoolss: Fixed FILL_DRIVER_STRING leading to wrong results.

13 years agos3-spoolss: Avoid segfault, check drivername is actually not NULL.
Simo Sorce [Mon, 26 Jul 2010 22:28:15 +0000 (18:28 -0400)]
s3-spoolss: Avoid segfault, check drivername is actually not NULL.

13 years agos3-spoolss: Fixed a possible segfault in winreg_get_printer.
Simo Sorce [Mon, 26 Jul 2010 17:14:03 +0000 (19:14 +0200)]
s3-spoolss: Fixed a possible segfault in winreg_get_printer.

13 years agos3-spoolss: Correctly set the default values.
Andreas Schneider [Mon, 26 Jul 2010 16:12:13 +0000 (18:12 +0200)]
s3-spoolss: Correctly set the default values.

13 years agos3-printing: Added automatic migration of printing tdbs.
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>
13 years agos3-spoolss: Move the standard mappings to spoolss.
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>
13 years agos3-lib: Make the standard_mapping parameter const.
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>
13 years agos3-spoolss: Remove the program global current_user_info.
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>
13 years agos3-spoolss: Remove unused MAGIC_DISPLAY_FREQUENCY
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>
13 years agos4-torture: Enable tests with keynames including a slash.
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>
13 years agos3-printing: Added automatic migration of printing tdbs.
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>
13 years agos3-printing: Move all tdb upgrade functions to a separate file.
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>
13 years agos3-smbd: Convert reply_printqueue to use spoolss.
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>
13 years agoRevert "s4-smbtorture: skip driverName and printerName DsSpooler tests for now."
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>
13 years agos3-spoolss: Create winprint print processor key.
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>
13 years agos3-printing: Removed unused function print_job_fd().
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>
13 years agos3-smbd: Use the right check to test if we can print.
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>
13 years agos3-printing: Moved printing.c headers to include/printing.h.
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>
13 years agos3-spoolss: Use WERROR for print_job_delete.
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>
13 years agos3-printing: Removed unused printfsp.c.
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>
13 years agos3-smbd: Migrated to new spoolss functions for printing.
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>
13 years agos3-printing: Handled case when smbd spools a file on behalf of spoolss.
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.

13 years agos3-printing: Made print_job_start more robust.
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>
13 years agos3-printing: Moved remaining prototypes to nt_printing.h.
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>
13 years agos3-printing: Remove unused printer registry key functions.
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>
13 years agos3-printing: Removed unused security descriptor functions.
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>
13 years agos3-printing: Removed unused nt_forms.
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>
13 years agos3-printing: Removed unsuded c_setprinter functions.
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>
13 years agos3-printing: Removed unused free_a_printer function.
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>
13 years agos3-printing: Removed unused mod_a_printer functions.
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>
13 years agos3-printing: Removed unused get_a_printer functions.
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>
13 years agos3-smbd: Added code to print via spoolss.
Simo Sorce [Wed, 28 Apr 2010 22:55:20 +0000 (18:55 -0400)]
s3-smbd: Added code to print via spoolss.

13 years agos3-spoolss: Removed wrong comment.
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>
13 years agos3-spoolss: Moved shared printing functions to nt_printing.h
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>
13 years agos3-spoolss: Removed the last free_a_printer() call in spoolss_nt.c.
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>
13 years agos3-spoolss: Removed unused set_printer_dataex().
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>
13 years agos3-spoolss: Create and update DsSpooler values.
Andreas Schneider [Fri, 30 Apr 2010 08:35:08 +0000 (10:35 +0200)]
s3-spoolss: Create and update DsSpooler values.

13 years agos3-spoolss: Use a temporary talloc context in update_printer.
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>
13 years agos3-spoolss: Use the existing memory context for winreg_get_printer.
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>
13 years agos3-spoolss: Don't return the printer devicemode in spoolss_EnumJobs.
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>
13 years agos3-spoolss: Fixed the driver unc strings for dependent files.
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>
13 years agos3-spoolss: Use winreg_delete_printer_key to delete printers.
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>
13 years agos3-spoolss: Get rid of get_server_name.
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>
13 years agos3-printing: Converted printer publishing functions.
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>
13 years agos3-printing: Convert print_driver_in_use.
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>
13 years agos3-printing: Convert print_time_access_check.
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>
13 years agos3-spoolss: Use spoolss_PrinterInfo2 in notify code.
Simo Sorce [Mon, 26 Apr 2010 17:08:32 +0000 (13:08 -0400)]
s3-spoolss: Use spoolss_PrinterInfo2 in notify code.

13 years agos3-spoolss: Convert do_drv_upgrade_printer() to winreg functions.
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>
13 years agos3-spoolss: Removed construct_dev_mode() function.
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>
13 years agos3-spoolss: Use spoolss_PrinterInfo2 in construct_printer_driver_info_level.
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>
13 years agos3-spoolss: Use spoolss_PrinterInfo2 for job info.
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>
13 years agos3-spoolss: Migrated driver functions to winreg.
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>
13 years agos3-spoolss: Set c_setprinter always to 0.
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>
13 years agos3-spoolss: Migrated spoolss_DeletePrinter to cleanup winreg keys.
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>
13 years agos3-spoolss: Migrated spoolss_GetPrinter and spoolss_EnumPrinters to winreg_update_pri...
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>
13 years agos3-spoolss: Migrated spoolss_OpenPrinter to create defaults with winreg_create_printer.
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>
13 years agos3-spoolss: Removed unused function printer_info2_to_nt_printer_info2().
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>
13 years agos3-spoolss: Removed unused function convert_printer_info().
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>
13 years agos3-spoolss: Migrated spoolss_AddPrinter and spoolss_SetPrinter.
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>
13 years agos3-spoolss: Migrated spoolss_Forms to use the winreg changeid function.
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>
13 years agos3-spoolss: Migrated spoolss_GetForm to the winreg function.
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>
13 years agos3-spoolss: Migrated spoolss_SetForm to the winreg function.
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>
13 years agos3-spoolss: Migrated spoolss_DeleteForm to the winreg function.
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>
13 years agos3-spoolss: Migrated spoolss_AddForm to the winreg function.
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>
13 years agos3-spoolss: Migrated spoolss_EnumForms to the winreg function.
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>
13 years agos3-spoolss: Migrated spoolss_DeletePrinterKey to the winreg functions.
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>
13 years agos3-spoolss: Migrated spoolss_DeletePrinterDataEx to the winreg functions.
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>
13 years agos3-spoolss: Migrated spoolss_EnumPrinterKey to the winreg functions.
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>
13 years agos3-spoolss: Migrated spoolss_EnumPrinterDataEx to the winreg functions.
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>
13 years agos3-spoolss: Migrated spoolss_GetPrinterDataEx to the winreg functions.
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>
13 years agos3-spoolss: Migrated spoolss_SetPrinterDataEx to the winreg functions.
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>
13 years agos3-registry: Redirect KEY_CONTROL_PRINTERS to KEY_WINNT_PRINTERS.
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>
13 years agos3-registry: Init all needed registry keys for printing.
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>