summaryrefslogtreecommitdiff
path: root/source3/printing
AgeCommit message (Collapse)AuthorFilesLines
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.
2010-05-31s3-build: only use ndr_security.h where needed.Günther Deschner1-0/+1
Guenther
2010-05-28s3:auth use info3 in auth_serversupplied_infoSimo Sorce1-1/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-25s3:registry: move reg_objects.h to registry/ and use it only where neededMichael Adam1-0/+1
Every place outside of registry/ where this is used, should probably be changed to use pure reg_api.c code.
2010-05-25s3:nt_printing: use regval_ctr_init().Michael Adam1-1/+4
2010-05-25s3:registry: adapt callers of regval_ctr_addvalue to uint8 * instead of char *Michael Adam1-4/+4
2010-05-21s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett1-6/+6
This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-spoolss: Added EN ISO 216, A0 and A1 to builtin forms.Andreas Schneider1-0/+2
Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-spoolss: Removed the Phantom DeviceMode.Simo Sorce1-378/+0
This was a hack that required a special client from HP. The client code has never been released and was discontinued, so this code was just dead weight. Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-spoolss: Create a spoolss_map_to_os2_driver function.Andreas Schneider1-0/+104
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-spoolss: Use better names for set_last_from_to.Andreas Schneider1-23/+20
Use set_driver_mapping() and get_win_driver(), get_os2_driver(). Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-18s3-secdesc: use SD_REVISION from security.idl.Günther Deschner1-3/+3
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".Günther Deschner1-8/+8
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_acl SEC_ACL".Günther Deschner1-4/+4
Guenther
2010-05-18s3-secdesc: remove "typedef struct security_ace SEC_ACE".Günther Deschner1-2/+2
Guenther