summaryrefslogtreecommitdiff
path: root/source3/printing
AgeCommit message (Collapse)AuthorFilesLines
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
2010-05-18s3-secdesc: remove "typedef struct sec_desc_buf SEC_DESC_BUF".Günther Deschner1-12/+12
Guenther
2010-05-18s3: Remove use of iconv_convenience.Jelmer Vernooij1-3/+3
2010-05-18s3-registry: only include registry headers when really needed.Günther Deschner1-0/+1
Guenther
2010-05-18s3-rpc_misc: clean out include/rpc_misc.h.Günther Deschner1-5/+5
Well known rids don't really belong into an rpc header, just use the ones defined in security.idl. Guenther
2010-05-14s3-printing: explicitly include "printing/pcap.h" as there is ↵Günther Deschner7-7/+7
/usr/include/pcap.h. Thanks metze for pointing this out. Simo, please check. Guenther
2010-05-14Make pcap headers privateSimo Sorce9-1/+60
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-14Move standard printcap parsing to print_standard.cSimo Sorce2-92/+130
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-06s3: only include gen_ndr headers where needed.Günther Deschner3-0/+3
This shrinks include/includes.h.gch by the size of 7 MB and reduces build time as follows: ccache build w/o patch real 4m21.529s ccache build with patch real 3m6.402s pch build w/o patch real 4m26.318s pch build with patch real 3m6.932s Guenther
2010-05-05s3-spoolss: Added a generic spoolss_create_default_secdesc function.Andreas Schneider1-0/+84
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-05s3-spoolss: Added a function to create a default spoolss_DeviceMode.Andreas Schneider1-0/+77
Signed-off-by: Günther Deschner <gd@samba.org>
2010-05-04s3-lib: Create a sec_desc_merge and sec_desc_merge_buf function.Andreas Schneider1-1/+1
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-30smbd: move printfile_offset() within write_file()Simo Sorce1-1/+6
2010-04-28s3-spoolss: add support for SetJobInfo level 1 (for jobfile rename).Günther Deschner1-1/+23
Guenther
2010-04-28s3-lanman: remove unsupported print_job_set_place().Günther Deschner1-10/+0
Guenther
2010-04-23s3-smbd: group print relate data in own structureSimo Sorce1-9/+15
2010-04-23s3-spoolss: Move info_ctr conversion to a public helper.Simo Sorce1-6/+23
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: Use const values for notify functions.Andreas Schneider1-6/+6
Signed-off-by: Günther Deschner <gd@samba.org>
2010-04-23s3-spoolss: fix some crash bugs and missing error codes in AddDriver paths.Günther Deschner1-2/+8
Found by torture test. Guenther
2010-04-09s3: add iconv_convenience handle to pull/push sz helpers.Günther Deschner1-1/+1
Guenther
2010-04-07s3-spoolss: Fix an issue in _spoolss_DeleteForm.Günther Deschner1-1/+1
Found by torture test. Guenther
2010-03-30Fix for bug #7233 - print fails with jobs >4GB from Win7 clients.Jeremy Allison1-0/+20
Contains for by Sebastian Kloska <oncaphillis@snafu.de>. Submitter confirms this fixes the problem. Jeremy.