summaryrefslogtreecommitdiff
path: root/source3/include/nt_printing.h
AgeCommit message (Collapse)AuthorFilesLines
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)
2007-10-10r21875: BUG 3275: Patch from Andy Polyakov <appro@fy.chalmers.se>Gerald Carter1-7/+2
Relax check for i386 header checks in the PE header of printer driver files. Thus allowing uploading of x64 print drivers from 64bit Windows clients. (This used to be commit 328807ec7b1ce6489d5443a93d1599f93af93933)
2007-10-10r13829: From the "It's not pretty but it works" categoryGerald Carter1-0/+22
* Finish prototype of the "add port command" implementation Format is "addportcommand portname deviceURI" * DeviceURI is either - socket://hostname:port/ - lpr://hostname/queue depending on what the client sent in the request (This used to be commit 6d74de7a676b71e83a3c3714743e6380c04e4425)
2007-10-10r13820: * Start fleshing out the XcvDataPort() server implementationGerald Carter1-3/+4
* Add support for the "Local Port" monitor as well through this API (This used to be commit ba9cdd88a0abf90a9c04959e554d7e4f10d17ff7)
2007-10-10r13815: "Into the blind world let us now descend,"Gerald Carter1-0/+1
Began the poet, his face as pale as death. "I will go first, and you will follow me." --- Adding XcvDataPort() to the spoolss code for remotely add ports. The design is to allow an intuitive means of creating a new CUPS print queue from the Windows 2000/XP APW without hacks like specifying the deviceURI in the location field of the printer properties dialog. Also set 'default devmode = yes' as the new default since it causes no harm and only is executed when you have a NULL devmode anyways. (This used to be commit 123e478ce5b5f63a61d00197332b847e83722468)
2007-10-10r9739: conver the reg_objects (REGSUBKEY_CTR & REGVAL_CTR) to useGerald Carter1-2/+2
the new talloc() features: Note that the REGSUB_CTR and REGVAL_CTR objects *must* be talloc()'d since the methods use the object pointer as the talloc context for internal private data. There is no longer a regXXX_ctr_intit() and regXXX_ctr_destroy() pair of functions. Simply TALLOC_ZERO_P() and TALLOC_FREE() the object. Also had to convert the printer_info_2->NT_PRINTER_DATA field to be talloc()'d as well. This is just a stop on the road to cleaning up the printer memory management. (This used to be commit ef721333ab9639cb5346067497e99fbd0d4425dd)
2007-10-10r8152: * remove commented out structureGerald Carter1-15/+0
* use SAMBA_PRINTER_PORT_NAME in registry values for builtin printer port (This used to be commit 63bc03536b6d0622005448f0f7be2739e06a432a)
2007-10-10r7882: Looks like a large patch - but what it actually does is make SambaJeremy Allison1-1/+1
safe for using our headers and linking with C++ modules. Stops us from using C++ reserved keywords in our code. Jeremy (This used to be commit 9506b8e145982b1160a2f0aee5c9b7a54980940a)
2007-10-10r2768: BUG 1519: save the hostname used in the open_printer_ex() for later ↵Gerald Carter1-4/+2
reuse when filling in the spolss replies (also gets rid of get_called_name() (This used to be commit 57db8ca91f52329c7f8985c04463b6b69015b0c4)
2003-03-06add #define for the max device name length in a DEVICEMODEGerald Carter1-0/+2
(This used to be commit 52ef84b53495db1eac6ecfb0b926ef8df7ea5cc5)
2003-02-25Progress on CR 601Gerald Carter1-0/+45
cache the printer_info_2 with the open printer handle. cache is invalidated on a mod_a_printer() call **on that smbd**. Yes, this means that the window for admins to step on each other from different clients just got larger, but since handles a generally short lived this is probably ok. (This used to be commit 31272d3b6bb9ec62fd666301c7adfa0c1720a99b)
2002-12-05More printer data to publishJim McDonough1-0/+4
(This used to be commit 6e2f0c4e304a09313f933a3c9c2a7b3a0219006d)