Volker Lendecke
8c665f6da6
s3: Lift the smbd_messaging_context from store_printer_guid
2010-08-08 16:03:25 +02:00
Volker Lendecke
e43ffde91f
s3: Lift the smbd_messaging_context from nt_printer_remove
2010-08-08 16:03:25 +02:00
Volker Lendecke
39ce462043
s3: Lift the smbd_messaging_context from print_time_access_check
2010-08-08 16:03:25 +02:00
Volker Lendecke
be7fd4ae50
s3: Lift the smbd_messaging_context from print_access_check
2010-08-08 16:03:25 +02:00
Volker Lendecke
d79895e826
s3: Lift the smbd_messaging_context from printer_driver_files_in_use
2010-08-08 16:03:24 +02:00
Volker Lendecke
862e888f71
s3: Lift the smbd_messaging_context from printer_driver_in_use
2010-08-08 16:03:24 +02:00
Volker Lendecke
1af73b04fc
s3: Lift the smbd_messaging_context from winreg_del_driver_list
2010-08-08 16:03:19 +02:00
Volker Lendecke
ae6a3ac225
s3: Lift the smbd_messaging_context from winreg_get_driver
2010-08-08 16:03:19 +02:00
Volker Lendecke
747f5c5318
s3: Lift the smbd_messaging_context from winreg_delete_printer_key
2010-08-08 16:03:17 +02:00
Volker Lendecke
cb8f700855
s3: Lift the smbd_messaging_context from winreg_get_printer_dataex
2010-08-08 16:03:17 +02:00
Volker Lendecke
e4cd34926f
s3: Lift the smbd_messaging_context from winreg_set_printer_dataex
2010-08-08 16:03:16 +02:00
Volker Lendecke
4fb993f613
s3: Lift the smbd_messaging_context from winreg_get_printer_secdesc
2010-08-08 16:03:16 +02:00
Volker Lendecke
bd8a1d8a86
s3: Lift the smbd_messaging_context from winreg_get_printer
2010-08-08 16:03:16 +02:00
Volker Lendecke
9751d7613b
s3: Lift the smbd_messaging_context from winreg_update_printer
2010-08-08 16:03:16 +02:00
Volker Lendecke
80cda2e807
s3: Lift the smbd_messaging_context from nt_printing_tdb_migrate
2010-08-08 16:03:15 +02:00
Volker Lendecke
2d3623529f
s3: Lift the smbd_messaging_context from rpc_pipe_open_internal
2010-08-08 16:03:15 +02:00
Günther Deschner
0f8e032628
s3-netlogon: remove global include of netlogon.h.
...
This reduces precompiled headers by another 4 MB and also slightly speeds up the
build.
Guenther
2010-08-06 15:46:16 +02:00
Andrew Tridgell
fe5f4d91ce
s3-printing: cope with missing printers in print migration
...
The printers database may be completely missing in a new install, and
we may have SECDESC entries for printers that have been removed. Don't
consider these fatal errors in the migration.
Signed-off-by: Günther Deschner <gd@samba.org>
2010-08-06 12:14:59 +02:00
Günther Deschner
c136b84f0d
s3-secrets: only include secrets.h when needed.
...
Guenther
2010-08-05 10:12:25 +02:00
Günther Deschner
31c484edb9
s3-printing: move AD related printing components to an own file.
...
Guenther
2010-08-05 00:32:02 +02:00
Günther Deschner
c530aa33cd
s3-printing: make sure to set NTSTATUS code before checking it.
...
Andreas, please check.
Guenther
2010-08-03 15:57:52 +02:00
Günther Deschner
eab6d8c390
s3-spoolss: remove duplicate (and incorrect) header.
...
Guenther
2010-08-03 00:18:31 +02:00
Günther Deschner
813fbbd68c
s3-build: avoid to globally include printing and spoolss headers.
...
This shrinks precompiled headers by 3MB and will slightly speed up any build.
Guenther
2010-07-31 00:50:31 +02:00
Andreas Schneider
b95d5563dd
s3-printing: Added automatic migration of printing tdbs.
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:15 -04:00
Andreas Schneider
924cc43d1b
s3-spoolss: Move the standard mappings to spoolss.
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:15 -04:00
Andreas Schneider
db2a777b0e
s3-printing: Added automatic migration of printing tdbs.
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:15 -04:00
Andreas Schneider
35e03ef5c2
s3-printing: Move all tdb upgrade functions to a separate file.
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:14 -04:00
Simo Sorce
f5a2f8fa2b
s3-printing: Removed unused function print_job_fd().
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:14 -04:00
Simo Sorce
628f9bee05
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>
2010-07-27 10:27:13 -04:00
Simo Sorce
95f587a565
s3-printing: Removed unused printfsp.c.
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:13 -04:00
Simo Sorce
849cc65654
s3-smbd: Migrated to new spoolss functions for printing.
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:13 -04:00
Simo Sorce
660506d359
s3-printing: Handled case when smbd spools a file on behalf of spoolss.
2010-07-27 10:27:13 -04:00
Simo Sorce
94ee35f9cc
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>
2010-07-27 10:27:13 -04:00
Andreas Schneider
7c629bda2f
s3-printing: Remove unused printer registry key functions.
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:13 -04:00
Andreas Schneider
ae405eed4f
s3-printing: Removed unused security descriptor functions.
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:12 -04:00
Andreas Schneider
e2d3c0efa9
s3-printing: Removed unused nt_forms.
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:12 -04:00
Andreas Schneider
c918cfdede
s3-printing: Removed unsuded c_setprinter functions.
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:12 -04:00
Andreas Schneider
d8ab3e52dc
s3-printing: Removed unused free_a_printer function.
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:12 -04:00
Andreas Schneider
5c1f283747
s3-printing: Removed unused mod_a_printer functions.
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:12 -04:00
Andreas Schneider
4e45d5f824
s3-printing: Removed unused get_a_printer functions.
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:12 -04:00
Simo Sorce
38d6274864
s3-smbd: Added code to print via spoolss.
2010-07-27 10:27:12 -04:00
Simo Sorce
a1fe2ed68a
s3-spoolss: Use winreg_delete_printer_key to delete printers.
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:10 -04:00
Simo Sorce
fdf669d377
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>
2010-07-27 10:27:10 -04:00
Simo Sorce
44bc6714b0
s3-printing: Converted printer publishing functions.
...
Use spoolss_PrintInfo2 and winreg calls.
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:10 -04:00
Simo Sorce
d17d73f4be
s3-printing: Convert print_driver_in_use.
...
Use spoolss_PrintInfo2 and winreg calls.
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:10 -04:00
Simo Sorce
017a305fed
s3-printing: Convert print_time_access_check.
...
use spoolss_PrintInfo2 and winreg calls
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:10 -04:00
Simo Sorce
52b8f1f471
s3-spoolss: Migrated driver functions to winreg.
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:09 -04:00
Andreas Schneider
e517588a20
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>
2010-07-27 10:27:09 -04:00
Andreas Schneider
e2c9ad93cb
s3-spoolss: Migrated spoolss_AddPrinter and spoolss_SetPrinter.
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:08 -04:00
Simo Sorce
5604a78f09
s3-spoolss: Migrated NT_DEVICEMODE to spoolss_DeviceMode.
...
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27 10:27:06 -04:00