summaryrefslogtreecommitdiff
path: root/source3/include/nt_printing.h
AgeCommit message (Collapse)AuthorFilesLines
2013-06-03Fix bug 9900: is_printer_published GUID retrievalDavid Disseldorp1-1/+5
Samba currently always responds to GetPrinter(level = 7) requests with DSPRINT_UNPUBLISH, regardless of the AD publish status tracked via the PRINTER_ATTRIBUTE_PUBLISHED flag. This is due to erroneous "objectGUID" unmarshalling in is_printer_published(). This change splits "objectGUID" retrieval into a separate function, and adds a pull_reg_sz() call to correctly unmarshall the GUID. Signed-off-by: David Disseldorp <ddiss@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
2012-03-14s3-printing: Make printer a const char *.Andreas Schneider1-1/+3
2012-02-09s3-printing: Add new printers to registry.Björn Baumbach1-0/+4
This fixes bug #8554, #8612 and #8748. Pair-Programmed-With: Stefan Metzmacher <metze@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Feb 9 16:39:04 CET 2012 on sn-devel-104
2011-07-28s3-printing: Add forward declaration for dcerpc_binding_handle.Andreas Schneider1-0/+2
This fixes a build warning. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Jul 28 20:07:37 CEST 2011 on sn-devel-104
2011-07-28s3-spoolss: Use existing handle in printer_driver_files_in_use().Andreas Schneider1-2/+1
Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Jul 28 16:20:11 CEST 2011 on sn-devel-104
2011-07-28s3-spoolss: Use existing handle in printer_driver_in_use().Andreas Schneider1-2/+1
2011-07-20s3-auth Use the common auth_session_infoAndrew Bartlett1-10/+10
This patch finally has the same structure being used to describe the authorization data of a user across the whole codebase. This will allow of our session handling to be accomplished with common code. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-20s3-auth Use struct auth3_session_info outside the auth subsystemAndrew Bartlett1-10/+10
This seperation between the structure used inside the auth modules and in the wider codebase allows for a gradual migration from struct auth_serversupplied_info -> struct auth_session_info (from auth.idl) The idea here is that we keep a clear seperation between the structure before and after the local groups, local user lookup and the session key modifications have been processed, as the lack of this seperation has caused issues in the past. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-07s3-printing: move spoolss_create_default_devmode/secdesc to init_spoolss.hGünther Deschner1-7/+0
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
2011-07-07s3-printing: move driver_info_ctr_to_info8 to init_spoolss.hGünther Deschner1-3/+0
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
2011-07-07s3-printing: move os2 related functions to printing/nt_printing_os2.c.Günther Deschner1-2/+0
Guenther Pair-Programmed-With: David Disseldorp <ddiss@suse.de>
2011-05-02s3-printing: avoid using pipes_struct when only session_info is needed.Günther Deschner1-3/+3
Guenther
2011-03-02s3-printing: fix move_driver_to_download_area() error pathsDavid Disseldorp1-2/+1
WERR_ACCESS_DENIED errors are mapped to WERR_UNKNOWN_PRINTER_DRIVER, resulting in incorrect error messages on Windows clients. move_driver_to_download_area() returns the same error status values to the caller via the *perr argument as well as the return value. The create_directory() call is not checked for error.
2010-09-30s3-spoolss: Fix servername/printername handling which turns out to be very ↵Günther Deschner1-1/+1
important to get right. Guenther
2010-09-28s3-printing: remove unused old structs.Günther Deschner1-60/+0
Guenther
2010-09-10s3-spoolss: Move Printer_entry to srv_spoolss_nt.cSimo Sorce1-40/+0
It is used only there, and it is a good idea to make this one private and opaque to the rest of the code. Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-09s3-printing: Make auth_serversupplied_info const.Andreas Schneider1-8/+8
2010-08-08s3: Lift the smbd_messaging_context from is_printer_publishedVolker Lendecke1-0/+1
2010-08-08s3: Lift the smbd_messaging_context from check_published_printersVolker Lendecke1-1/+1
2010-08-08s3: Lift the smbd_messaging_context from nt_printer_publishVolker Lendecke1-0/+1
2010-08-08s3: Lift the smbd_messaging_context from nt_printer_removeVolker Lendecke1-0/+1
2010-08-08s3: Lift the smbd_messaging_context from print_time_access_checkVolker Lendecke1-0/+1
2010-08-08s3: Lift the smbd_messaging_context from print_access_checkVolker Lendecke1-1/+2
2010-08-08s3: Lift the smbd_messaging_context from printer_driver_files_in_useVolker Lendecke1-0/+1
2010-08-08s3: Lift the smbd_messaging_context from printer_driver_in_useVolker Lendecke1-0/+1
2010-08-08s3: Remove references to smbd_messaging_context()Volker Lendecke1-0/+1
2010-08-07s3: Remove references to smbd_messaging_context() from the spoolss serverVolker Lendecke1-4/+0
2010-07-27s3-printing: Added automatic migration of printing tdbs.Andreas Schneider1-6/+0
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Remove the program global current_user_info.Andreas Schneider1-1/+2
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-printing: Moved remaining prototypes to nt_printing.h.Andreas Schneider1-0/+24
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Moved shared printing functions to nt_printing.hAndreas Schneider1-0/+47
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Removed the last free_a_printer() call in spoolss_nt.c.Andreas Schneider1-2/+2
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-07-27s3-spoolss: Migrated NT_DEVICEMODE to spoolss_DeviceMode.Simo Sorce1-45/+4
Signed-off-by: Jim McDonough <jmcd@samba.org>
2010-05-18s3-secdesc: remove "typedef struct sec_desc_buf SEC_DESC_BUF".Günther Deschner1-1/+1
Guenther
2009-12-02s3-spoolss: move MAXDEVICENAME to spoolss idl.Günther Deschner1-2/+0
Guenther
2009-11-23s3-spoolss: move more defines out of nt_printing.h to spoolss.idl where they ↵Günther Deschner1-67/+0
belong. Guenther
2009-11-23s3-printing: remove unused NT_PRINTER_DRIVER_INFO_LEVEL structs.Günther Deschner1-41/+0
Guenther
2009-08-10s3-spoolss: remove device mode defines from nt_printing.h.Günther Deschner1-110/+0
Guenther
2009-05-13s3-printing: no need to define struct table_node 4 times.Günther Deschner1-0/+6
Guenther
2009-04-27s3:registry: replace typedef REGVAL_CTR by struct regval_ctr.Michael Adam1-2/+2
This paves the way for hiding the typedef and the implementation from the surface. Michael
2009-03-18s3: remove POLICY_HND.Günther Deschner1-1/+1
Guenther
2009-03-17s3-spoolss: move DRIVER_X_VERSION flags into the backend, where they belong to.Günther Deschner1-0/+3
Guenther
2009-03-17s3-spoolss: move PRINTER_ATTRIBUTE_SAMBA to printing backend, where they belong.Günther Deschner1-0/+13
Guenther
2009-02-23s3-spoolss: use spoolss_NotifyOption and spoolss_NotifyType instead of ↵Günther Deschner1-1/+1
SPOOL_NOTIFY_OPTION and SPOOL_NOTIFY_OPTION_TYPE. Guenther
2009-02-18s3-spoolss: remove old spoolss_XcvData.Günther Deschner1-22/+0
Guenther
2009-01-08Make use of a talloc_destructor for free_printer_entryVolker Lendecke1-1/+0
2007-11-27Remove pstring from srv_spoolss_nt.c. All gone from rpc_server/*.cJeremy Allison1-1/+1
Jeremy. (This used to be commit b5a2a1e3f82a0d319fc9a1d76f5166150680f4d4)
2007-10-18RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison1-6/+6
bugs in various places whilst doing this (places that assumed BOOL == int). I also need to fix the Samba4 pidl generation (next checkin). Jeremy. (This used to be commit f35a266b3cbb3e5fa6a86be60f34fe340a3ca71f)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)