Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2012-06-26 | s3-printing: pass lpq command to job_submit | David Disseldorp | 1 | -1/+3 | |
Currently the generic print backend does not fill the printing backend job identifier (sysjob) on submission of a new job. The sysjob identifier is required to correctly map jobs in the printer queue to corresponding spoolss print jobs. Passing the lpq command to job_submit allows the generic print backend to check the printer queue for the new job following submission. This behaviour will come in a later commit. | |||||
2012-06-26 | s3-printing: remove unused print_job_fname() | David Disseldorp | 1 | -1/+0 | |
2012-06-26 | s3-printing: return talloced print jobs | David Disseldorp | 1 | -1/+3 | |
print_job_find() currently returns print jobs to callers via a statically allocated variable, this is particularly messy as the device mode is talloced under the static variable. This change adds or passes a talloc context to all callers, giving them ownership of the returned print job. | |||||
2012-06-26 | s3-printing: clean up print_job_pause/resume interface | David Disseldorp | 1 | -4/+4 | |
Currently both return a bool and sometimes set a werr pointer argument, always return werror instead. | |||||
2012-06-26 | s3-printing: remove print_parse_jobid() | David Disseldorp | 1 | -1/+0 | |
With all callers fixed, it is now safe to remove. | |||||
2012-06-26 | s3-printing: rename queue->job sysjob | David Disseldorp | 1 | -1/+1 | |
Print jobs maintain two job identifiers, the jobid allocated by the spoolss layer (pj->jobid), and the job identifier defined by the printing backend (pj->sysjob). Printer job queues currently only contain a single job identifier variable (queue->job), the variable is sometimes representative of the spoolss layer job identifier, and more often representative of the printing backend id. This change renames the queue job identifier from queue->job to queue->sysjob, in preparation for a change to only store the printing backend identifier. | |||||
2012-06-26 | s3-printing: store print jobid as part of struct printjob | David Disseldorp | 1 | -1/+2 | |
Printing code in some places relies upon the spool-file format to retrieve the print jobid. By storing the jobid as part of struct printjob, and hence in the printing TDB, we can move away from this ugly behaviour. | |||||
2012-06-06 | s3:printing: let print_spool_open() take a uint64_t vuid | Stefan Metzmacher | 1 | -1/+1 | |
metze | |||||
2012-06-06 | s3:printing: add print_spool_rap_jobid() | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2012-04-06 | build: Remove SMB_OFF_T, replace with off_t | Andrew Bartlett | 1 | -1/+1 | |
Now that we always require a 64 bit off_t, we no longer need SMB_OFF_T. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 6 01:47:43 CEST 2012 on sn-devel-104 | |||||
2011-08-02 | s3:smbd - Move printing queue stuff | Simo Sorce | 1 | -2/+0 | |
This way we can properly deal with pcap updates in the background queue process if it is enabled (on by default) and not perform these actions in the main smbd process. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-07-20 | s3-auth Use the common auth_session_info | Andrew Bartlett | 1 | -7/+7 | |
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-20 | s3-auth Use struct auth3_session_info outside the auth subsystem | Andrew Bartlett | 1 | -7/+7 | |
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-06-20 | ldb: replace 'struct TDB_DATA' with 'TDB_DATA' | Rusty Russell | 1 | -4/+2 | |
The typedef is TDB2 compatible, the struct isn't. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> | |||||
2011-05-06 | s3: only include tdb headers where needed. | Günther Deschner | 1 | -2/+5 | |
Guenther | |||||
2011-03-29 | s3:printing Make print_queue_receive public | Simo Sorce | 1 | -0/+5 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2011-02-25 | s3-printing: move more printing defines out of includes.h | Günther Deschner | 1 | -0/+30 | |
Guenther | |||||
2011-02-22 | s3-printing: move more printing structs to printing.h | Günther Deschner | 1 | -0/+40 | |
Guenther | |||||
2011-02-22 | s3-printing: only include printing where really needed. | Günther Deschner | 1 | -0/+23 | |
Guenther | |||||
2010-10-20 | s3: Make "unpack_pjob" static | Volker Lendecke | 1 | -1/+0 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Oct 20 16:51:04 UTC 2010 on sn-devel-104 | |||||
2010-09-09 | s3-printing: Make auth_serversupplied_info const. | Andreas Schneider | 1 | -7/+7 | |
2010-08-18 | s3-printing: Added function to update the queue. | Andreas Schneider | 1 | -1/+1 | |
2010-08-18 | s3: Use pipe_struct->client_id->name for pjob.clientmachine | Volker Lendecke | 1 | -0/+1 | |
2010-08-17 | s3: Remove unused "pos" arg from print_job_write | Volker Lendecke | 1 | -2/+1 | |
2010-08-16 | s3-printing: Lift the use of smbd_server_fd from job_submit. | Volker Lendecke | 1 | -1/+2 | |
Signed-off-by: Andreas Schneider <asn@samba.org> | |||||
2010-08-08 | s3: Lift the server_messaging_context from print_job_endpage | Volker Lendecke | 1 | -1/+2 | |
2010-08-08 | s3: Lift the server_messaging_context from print_job_write | Volker Lendecke | 1 | -1/+4 | |
2010-08-08 | s3: Lift the server_messaging_context from print_job_set_name | Volker Lendecke | 1 | -1/+3 | |
2010-08-08 | s3: Lift the server_messaging_context from pjob_delete | Volker Lendecke | 1 | -1/+0 | |
2010-08-08 | s3: Lift the server_messaging_context from print_queue_status | Volker Lendecke | 1 | -1/+1 | |
2010-08-08 | s3: Lift the server_messaging_context from print_job_end | Volker Lendecke | 1 | -1/+2 | |
2010-08-08 | s3: Lift the server_messaging_context from print_queue_length | Volker Lendecke | 1 | -1/+2 | |
2010-08-08 | s3: Lift the smbd_messaging_context from print_queue_purge | Volker Lendecke | 1 | -1/+2 | |
2010-08-08 | s3: Lift the smbd_messaging_context from print_queue_resume | Volker Lendecke | 1 | -1/+2 | |
2010-08-08 | s3: Lift the smbd_messaging_context from print_queue_pause | Volker Lendecke | 1 | -1/+2 | |
2010-08-08 | s3: Lift the smbd_messaging_context from print_job_start | Volker Lendecke | 1 | -0/+1 | |
2010-08-08 | s3: Lift the smbd_messaging_context from print_job_resume | Volker Lendecke | 1 | -2/+3 | |
2010-08-08 | s3: Lift the smbd_messaging_context from print_job_pause | Volker Lendecke | 1 | -2/+3 | |
2010-08-08 | s3: Lift the smbd_messaging_context from print_job_delete | Volker Lendecke | 1 | -1/+2 | |
2010-07-27 | s3-printing: Removed unused function print_job_fd(). | Simo Sorce | 1 | -1/+0 | |
Signed-off-by: Jim McDonough <jmcd@samba.org> | |||||
2010-07-27 | s3-printing: Moved printing.c headers to include/printing.h. | Simo Sorce | 1 | -0/+33 | |
Signed-off-by: Jim McDonough <jmcd@samba.org> | |||||
2010-07-27 | s3-smbd: Added code to print via spoolss. | Simo Sorce | 1 | -0/+12 | |
2010-07-27 | s3-spoolss: Migrated NT_DEVICEMODE to spoolss_DeviceMode. | Simo Sorce | 1 | -1/+1 | |
Signed-off-by: Jim McDonough <jmcd@samba.org> | |||||
2008-09-24 | printing: Rename new parameter "cups timeout" to "cups connection timeout". | Karolin Seeger | 1 | -1/+1 | |
Karolin | |||||
2008-09-23 | printing: Add new parameter "cups timeout". | Karolin Seeger | 1 | -0/+1 | |
The default timeout for connections to CUPS servers is set to 5 minutes in the CUPS libraries. The smbd hangs on startup until the timeout is reached if the CUPS server is unreachable. This parameter makes the timeout configurable. The default value is set to 30 seconds. Karolin | |||||
2007-10-18 | RIP BOOL. Convert BOOL -> bool. I found a few interesting | Jeremy Allison | 1 | -2/+2 | |
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-18 | remove reference to removed code | Stefan Metzmacher | 1 | -4/+0 | |
see commit 9e5ad21e6793981a01f63f2de1c4d496ade0bb54 metze (This used to be commit ea3173a9457f9095a70d401abfd1af8c913211a0) | |||||
2007-10-10 | r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text | Andrew Tridgell | 1 | -2/+1 | |
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07) | |||||
2007-10-10 | r23779: Change from v2 or later to v3 or later. | Jeremy Allison | 1 | -1/+1 | |
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3) | |||||
2007-10-10 | r17622: Add a framework for a printing backend designed to support the build ↵ | Volker Lendecke | 1 | -0/+4 | |
farm. If we want to walk more printing code in the build farm I think doing that with a customized printing backend is much easier than with a set of shell scripts. Jerry, comments? Volker (This used to be commit 949cd6b992364d2bc60fd59051b6ac1c4cc4288c) |