summaryrefslogtreecommitdiff
path: root/source3/printing
AgeCommit message (Collapse)AuthorFilesLines
2010-08-08s3: Lift the smbd_messaging_context from winreg_get_printer_dataexVolker Lendecke1-1/+2
2010-08-08s3: Lift the smbd_messaging_context from winreg_set_printer_dataexVolker Lendecke1-1/+3
2010-08-08s3: Lift the smbd_messaging_context from winreg_get_printer_secdescVolker Lendecke1-0/+1
2010-08-08s3: Lift the smbd_messaging_context from winreg_get_printerVolker Lendecke2-2/+6
2010-08-08s3: Lift the smbd_messaging_context from winreg_update_printerVolker Lendecke1-0/+1
2010-08-08s3: Lift the smbd_messaging_context from nt_printing_tdb_migrateVolker Lendecke2-3/+3
2010-08-08s3: Lift the smbd_messaging_context from rpc_pipe_open_internalVolker Lendecke1-0/+1
2010-08-06s3-netlogon: remove global include of netlogon.h.Günther Deschner2-0/+2
This reduces precompiled headers by another 4 MB and also slightly speeds up the build. Guenther
2010-08-06s3-printing: cope with missing printers in print migrationAndrew Tridgell1-0/+10
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-05s3-secrets: only include secrets.h when needed.Günther Deschner2-0/+2
Guenther
2010-08-05s3-printing: move AD related printing components to an own file.Günther Deschner2-440/+466
Guenther
2010-08-03s3-printing: make sure to set NTSTATUS code before checking it.Günther Deschner1-5/+5
Andreas, please check. Guenther
2010-08-03s3-spoolss: remove duplicate (and incorrect) header.Günther Deschner1-1/+0
Guenther
2010-07-31s3-build: avoid to globally include printing and spoolss headers.Günther Deschner4-2/+7
This shrinks precompiled headers by 3MB and will slightly speed up any build. Guenther
2010-07-27s3-printing: Added automatic migration of printing tdbs.Andreas Schneider3-86/+83
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Move the standard mappings to spoolss.Andreas Schneider1-14/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Added automatic migration of printing tdbs.Andreas Schneider3-0/+678
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Move all tdb upgrade functions to a separate file.Andreas Schneider3-391/+492
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Removed unused function print_job_fd().Simo Sorce1-15/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Use WERROR for print_job_delete.Simo Sorce1-18/+20
And also check for PJOB_SMBD_SPOOLING in print_job_write. Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Removed unused printfsp.c.Simo Sorce1-147/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-smbd: Migrated to new spoolss functions for printing.Simo Sorce1-1/+2
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Handled case when smbd spools a file on behalf of spoolss.Simo Sorce2-29/+98
2010-07-27s3-printing: Made print_job_start more robust.Simo Sorce2-88/+151
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-printing: Remove unused printer registry key functions.Andreas Schneider1-494/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Removed unused security descriptor functions.Andreas Schneider1-306/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Removed unused nt_forms.Andreas Schneider1-362/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Removed unsuded c_setprinter functions.Andreas Schneider1-66/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Removed unused free_a_printer function.Andreas Schneider1-26/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Removed unused mod_a_printer functions.Andreas Schneider1-313/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Removed unused get_a_printer functions.Andreas Schneider1-523/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-smbd: Added code to print via spoolss.Simo Sorce2-1/+332
2010-07-27s3-spoolss: Use winreg_delete_printer_key to delete printers.Simo Sorce1-32/+11
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Get rid of get_server_name.Simo Sorce1-9/+0
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-107/+202
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 Sorce2-8/+16
use spoolss_PrintInfo2 and winreg calls Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated driver functions to winreg.Simo Sorce1-512/+53
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Set c_setprinter always to 0.Andreas Schneider1-2/+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-27s3-spoolss: Migrated spoolss_AddPrinter and spoolss_SetPrinter.Andreas Schneider1-9/+20
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated NT_DEVICEMODE to spoolss_DeviceMode.Simo Sorce2-258/+111
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-04s3: Pass the new server_id through reinit_after_forkVolker Lendecke2-5/+11
2010-07-04s3: Fix some nested extern warningsVolker Lendecke1-2/+3
2010-07-04s3: Remove serverid_[de]register_selfVolker Lendecke1-2/+3
This removes some deep references to procid_self()
2010-07-01s3-printing: Fix Bug #7541, %D in "printer admin" causing smbd crash.Günther Deschner1-1/+2
Guenther
2010-06-16s3-printing: add BUILTIN\Print Operators as FULL CONTROL to default sd.Günther Deschner1-2/+22
Guenther
2010-06-16s3-spoolss: Provide a memory context for clean_up_driver_struct().Andreas Schneider1-3/+4
If we use a stack variable to setup spoolss_AddDriverInfoCtr this would segfault with a talloc bad magic value.
2010-06-13s3: Remove the pointless PRINTERNAME macroVolker Lendecke5-29/+47
2010-06-13s3: Remove the pointless SERVICE macroVolker Lendecke1-7/+7
2010-06-10s3:misc make use of server_[event/messaging]_context directlyAndreas Schneider3-13/+14
Untangle these functions from smbd specific dependencies so they can be freely used in multiple servers.