summaryrefslogtreecommitdiff
path: root/source3/printing
AgeCommit message (Collapse)AuthorFilesLines
2010-09-29s3-printing: skip metadata entry when traversing printerlist.Günther Deschner1-0/+5
We were creating a new printer (with a very broken name) out of the lasttimestamp entry all the time. Simo, please check. Guenther
2010-09-27Change to using TDB_INCOMPATIBLE_HASH (the jenkins hash) on allJeremy Allison1-1/+1
TDB_CLEAR_IF_FIRST tdb's. For tdb's like gencache where we open without CLEAR_IF_FIRST and then with CLEAR_IF_FIRST if corrupt this is still safe to use as if opening an existing tdb the new hash will be ignored - it's only used on creating a new tdb not opening an old one. Jeremy.
2010-09-20s3-libads call common GUID_from_ndr_blob()Andrew Bartlett1-2/+5
This does a length-limited check, and so avoids reading beyond the allocated memory if the server sends less than 16 bytes. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2010-09-16s3/printing: avoid a possible race condition in the cache timeoutBjörn Jacke1-2/+1
2010-09-15s3/printing: make clock jump save and use monotonic time for cache timeoutBjörn Jacke2-14/+15
2010-09-15s3-printing: fix print_spool_terminate().Günther Deschner1-1/+1
Simo, Andreas, please check. Guenther
2010-09-15s3-rpc_server: Moved ncacn_np declarations in common header file.Simo Sorce2-0/+2
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-09-15s3-rpc_server: Convert rpc_connect_spoolss_pipe into a generic interface.Simo Sorce1-3/+22
This way we have one common way to open internal pipes whether they are shortcircuited or piped to an external process.
2010-09-15s3-printing: Document the printer list functions.Andreas Schneider1-0/+64
2010-09-15s3-printing: Add method to skip refresh if just happned.Simo Sorce3-0/+34
This way if multiple process try to refresh at the same time we don't do it over and over again. Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-printing: Use printer list tdb in pcap.Simo Sorce1-21/+35
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-15s3-printing: Added a printer list database.Simo Sorce2-0/+431
Signed-off-by: Andreas Schneider <asn@cynapses.org>
2010-09-11s3-privs Convert from user_has_privileges() -> security_token_has_privilege()Andrew Bartlett1-2/+1
This new call is available in the merged privileges code, and takes an enum as the parameter, rather than a bitmask. Andrew Bartlett Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-11s3-privs Further changes to remove SE_PRIVAndrew Bartlett1-1/+1
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2010-09-10s3-printing: fix non-ads build after prototype changes.Günther Deschner1-1/+1
Guenther
2010-09-09s3-printing: Make missing auth_serversupplied_info const.Andreas Schneider1-3/+3
2010-09-09s3-printing: Make auth_serversupplied_info const.Andreas Schneider2-15/+15
2010-09-03s3-spoolss: fix some debug statements.Günther Deschner1-1/+1
Guenther
2010-08-31s3-printing: add debug to get_correct_cversion().Günther Deschner1-0/+1
Guenther
2010-08-26s3-build: only include krb5 environment variables where required.Günther Deschner1-0/+1
Guenther
2010-08-18s3-printing: Added function to update the queue.Andreas Schneider1-30/+174
2010-08-18s3-printing: Rename jobs_changed functions to jobs_added.Andreas Schneider1-26/+26
2010-08-18s3: Use pipe_struct->client_id->name for pjob.clientmachineVolker Lendecke1-7/+2
2010-08-18s3: Move initializing pjob.clientname to print_job_start()Volker Lendecke1-8/+8
2010-08-18s3: Add "client_id" to pipes_structVolker Lendecke1-0/+1
2010-08-17s3: Directly call write_data from print_job_write()Volker Lendecke1-1/+1
2010-08-17s3: Remove unused "pos" arg from print_job_writeVolker Lendecke1-3/+2
2010-08-16s3-printing: fix BUG 7280 - auto printers not loading with registryJim McDonough1-0/+4
config
2010-08-16s3-printing: Lift the use of smbd_server_fd from job_submit.Volker Lendecke3-18/+14
Signed-off-by: Andreas Schneider <asn@samba.org>
2010-08-16s3: Remove get_client_fd()Volker Lendecke2-4/+4
2010-08-08s3: Remove the smbd_messaging_context from load_printersVolker Lendecke1-3/+3
2010-08-08s3: Remove the smbd_messaging_context from pcap_cache_reloadVolker Lendecke2-5/+7
2010-08-08s3: Remove the smbd_messaging_context from cups_cache_reloadVolker Lendecke3-9/+9
2010-08-08s3: Remove the smbd_messaging_context from cups_pcap_load_asyncVolker Lendecke1-5/+7
2010-08-08s3: Lift the server_messaging_context from print_job_endpageVolker Lendecke1-3/+3
2010-08-08s3: Lift the server_messaging_context from print_job_writeVolker Lendecke1-3/+5
2010-08-08s3: Lift the server_messaging_context from print_job_delete1Volker Lendecke1-8/+8
2010-08-08s3: Lift the server_messaging_context from print_job_set_nameVolker Lendecke1-3/+4
2010-08-08s3: Lift the server_messaging_context from print_queue_update_with_lockVolker Lendecke1-5/+8
2010-08-08s3: Lift the server_messaging_context from print_queue_update_internalVolker Lendecke1-11/+12
2010-08-08s3: Lift the server_messaging_context from traverse_fn_deleteVolker Lendecke1-10/+10
2010-08-08s3: Lift the server_messaging_context from print_unix_jobVolker Lendecke1-5/+11
2010-08-08s3: Lift the server_messaging_context from pjob_deleteVolker Lendecke1-12/+22
2010-08-08s3: Lift the server_messaging_context from pjob_storeVolker Lendecke1-13/+23
2010-08-08s3: Lift the server_messaging_context from pjob_store_notifyVolker Lendecke1-17/+18
2010-08-08s3: Lift the server_messaging_context from notify_printer_bynameVolker Lendecke1-2/+5
2010-08-08s3: Lift the server_messaging_context from notify_printer_locationVolker Lendecke1-2/+4
2010-08-08s3: Lift the server_messaging_context from notify_printer_portVolker Lendecke1-2/+4
2010-08-08s3: Lift the server_messaging_context from notify_printer_printernameVolker Lendecke1-2/+4
2010-08-08s3: Lift the server_messaging_context from notify_printer_sharenameVolker Lendecke1-2/+4