summaryrefslogtreecommitdiffstats
path: root/source3/printing
Commit message (Collapse)AuthorAgeFilesLines
...
* s3-smbd: Migrated to new spoolss functions for printing.Simo Sorce2010-07-271-1/+2
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Handled case when smbd spools a file on behalf of spoolss.Simo Sorce2010-07-272-29/+98
|
* s3-printing: Made print_job_start more robust.Simo Sorce2010-07-272-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>
* s3-printing: Remove unused printer registry key functions.Andreas Schneider2010-07-271-494/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Removed unused security descriptor functions.Andreas Schneider2010-07-271-306/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Removed unused nt_forms.Andreas Schneider2010-07-271-362/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Removed unsuded c_setprinter functions.Andreas Schneider2010-07-271-66/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Removed unused free_a_printer function.Andreas Schneider2010-07-271-26/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Removed unused mod_a_printer functions.Andreas Schneider2010-07-271-313/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Removed unused get_a_printer functions.Andreas Schneider2010-07-271-523/+0
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-smbd: Added code to print via spoolss.Simo Sorce2010-07-272-1/+332
|
* s3-spoolss: Use winreg_delete_printer_key to delete printers.Simo Sorce2010-07-271-32/+11
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Get rid of get_server_name.Simo Sorce2010-07-271-9/+0
| | | | | | This function was useless the structure is public and used everywhere. Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Converted printer publishing functions.Simo Sorce2010-07-271-107/+202
| | | | | | Use spoolss_PrintInfo2 and winreg calls. Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Convert print_driver_in_use.Simo Sorce2010-07-271-6/+12
| | | | | | Use spoolss_PrintInfo2 and winreg calls. Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-printing: Convert print_time_access_check.Simo Sorce2010-07-272-8/+16
| | | | | | use spoolss_PrintInfo2 and winreg calls Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Migrated driver functions to winreg.Simo Sorce2010-07-271-512/+53
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Set c_setprinter always to 0.Andreas Schneider2010-07-271-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>
* s3-spoolss: Migrated spoolss_AddPrinter and spoolss_SetPrinter.Andreas Schneider2010-07-271-9/+20
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3-spoolss: Migrated NT_DEVICEMODE to spoolss_DeviceMode.Simo Sorce2010-07-272-258/+111
| | | | Signed-off-by: Jim McDonough <jmcd@samba.org>
* s3: Pass the new server_id through reinit_after_forkVolker Lendecke2010-07-042-5/+11
|
* s3: Fix some nested extern warningsVolker Lendecke2010-07-041-2/+3
|
* s3: Remove serverid_[de]register_selfVolker Lendecke2010-07-041-2/+3
| | | | This removes some deep references to procid_self()
* s3-printing: Fix Bug #7541, %D in "printer admin" causing smbd crash.Günther Deschner2010-07-011-1/+2
| | | | Guenther
* s3-printing: add BUILTIN\Print Operators as FULL CONTROL to default sd.Günther Deschner2010-06-161-2/+22
| | | | Guenther
* s3-spoolss: Provide a memory context for clean_up_driver_struct().Andreas Schneider2010-06-161-3/+4
| | | | | If we use a stack variable to setup spoolss_AddDriverInfoCtr this would segfault with a talloc bad magic value.
* s3: Remove the pointless PRINTERNAME macroVolker Lendecke2010-06-135-29/+47
|
* s3: Remove the pointless SERVICE macroVolker Lendecke2010-06-131-7/+7
|
* s3:misc make use of server_[event/messaging]_context directlyAndreas Schneider2010-06-103-13/+14
| | | | | Untangle these functions from smbd specific dependencies so they can be freely used in multiple servers.
* s3-build: only use ndr_security.h where needed.Günther Deschner2010-05-311-0/+1
| | | | Guenther
* s3:auth use info3 in auth_serversupplied_infoSimo Sorce2010-05-281-1/+1
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3:registry: move reg_objects.h to registry/ and use it only where neededMichael Adam2010-05-251-0/+1
| | | | | Every place outside of registry/ where this is used, should probably be changed to use pure reg_api.c code.
* s3:nt_printing: use regval_ctr_init().Michael Adam2010-05-251-1/+4
|
* s3:registry: adapt callers of regval_ctr_addvalue to uint8 * instead of char *Michael Adam2010-05-251-4/+4
|
* s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett2010-05-211-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>
* s3-spoolss: Added EN ISO 216, A0 and A1 to builtin forms.Andreas Schneider2010-05-181-0/+2
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Signed-off-by: Günther Deschner <gd@samba.org>
* s3-spoolss: Removed the Phantom DeviceMode.Simo Sorce2010-05-181-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>
* s3-spoolss: Create a spoolss_map_to_os2_driver function.Andreas Schneider2010-05-181-0/+104
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-spoolss: Use better names for set_last_from_to.Andreas Schneider2010-05-181-23/+20
| | | | | | Use set_driver_mapping() and get_win_driver(), get_os2_driver(). Signed-off-by: Günther Deschner <gd@samba.org>
* s3-secdesc: use SD_REVISION from security.idl.Günther Deschner2010-05-181-3/+3
| | | | Guenther
* s3-secdesc: remove "typedef struct security_descriptor SEC_DESC".Günther Deschner2010-05-181-8/+8
| | | | Guenther
* s3-secdesc: remove "typedef struct security_acl SEC_ACL".Günther Deschner2010-05-181-4/+4
| | | | Guenther
* s3-secdesc: remove "typedef struct security_ace SEC_ACE".Günther Deschner2010-05-181-2/+2
| | | | Guenther
* s3-secdesc: remove "typedef struct sec_desc_buf SEC_DESC_BUF".Günther Deschner2010-05-181-12/+12
| | | | Guenther
* s3: Remove use of iconv_convenience.Jelmer Vernooij2010-05-181-3/+3
|
* s3-registry: only include registry headers when really needed.Günther Deschner2010-05-181-0/+1
| | | | Guenther
* s3-rpc_misc: clean out include/rpc_misc.h.Günther Deschner2010-05-181-5/+5
| | | | | | | Well known rids don't really belong into an rpc header, just use the ones defined in security.idl. Guenther
* s3-printing: explicitly include "printing/pcap.h" as there is ↵Günther Deschner2010-05-147-7/+7
| | | | | | | | /usr/include/pcap.h. Thanks metze for pointing this out. Simo, please check. Guenther
* Make pcap headers privateSimo Sorce2010-05-149-1/+60
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* Move standard printcap parsing to print_standard.cSimo Sorce2010-05-142-92/+130
| | | | Signed-off-by: Günther Deschner <gd@samba.org>