summaryrefslogtreecommitdiffstats
path: root/source/printing
Commit message (Collapse)AuthorAgeFilesLines
* Allow %u parameters for print job username - use advanced subJim McDonough2008-07-161-3/+5
| | | | | Based on 3.0 and 3.2 patch from Bo Yang <boyang@novell.com> Bo, please verify this version works for you.
* remove unused extern current_user from nt_printing.cVolker Lendecke2008-06-261-2/+0
|
* Remove current_user reference from printfsp.cVolker Lendecke2008-06-261-4/+2
|
* Change print_access_check to take auth_serversupplied_info instead of ↵Volker Lendecke2008-06-263-54/+56
| | | | | | current_user Reason: This is the main user of p->current_user which I would like to remove
* Fix some scary FC9 warningsVolker Lendecke2008-06-101-39/+41
| | | | (cherry picked from commit 6b0fed09ea34409d1c61bae9121bdb38d4c68d62)
* Remove the reference to current_user_info from share_access.cVolker Lendecke2008-05-251-1/+1
| | | | This required to pass around the domain a bit
* Cleanup size_t return values in callers of convert_string_allocateTim Prouty2008-05-201-2/+3
| | | | | This patch is the second iteration of an inside-out conversion to cleanup functions in charcnv.c returning size_t == -1 to indicate failure.
* Try and fix bug #5095, "Manage Documents privilege is not functional".Jeremy Allison2008-05-051-11/+24
| | | | | | Should map the created sd to printer jobs, not printer. Jerry please test and I'll add to 3.2 if it passes. Thanks, Jeremy.
* Remove "userdom_struct user" from "struct user_struct"Volker Lendecke2008-05-051-3/+6
|
* Fix from Martin Zielinski <mz@seh.de>. Don't delete files whenJeremy Allison2008-04-241-7/+20
| | | | | they're in use by other drivers. Jeremy.
* Fix CLEAR_IF_FIRST handling of messages.tdbVolker Lendecke2008-04-231-1/+1
| | | | | | | We now open messages.tdb even before we do the become_daemon. become_daemon() involves a fork and an immediate exit of the parent, thus the parent_is_longlived argument must be set to false in this case. The parent is not really long lived :-)
* printing: call reinit_after_fork() in the backgroundqueue processStefan Metzmacher2008-04-181-0/+5
| | | | metze
* Fix typos.Karolin Seeger2008-04-091-1/+1
| | | | Karolin
* Fix bug #5372. With a large CUPS installation with a remote server, contactingJeremy Allison2008-04-041-11/+38
| | | | | | | | the server when searching for a name for the location and comment fields can take so much time the client times out. When searching for a name we don't use these fields anyway, so add a function get_a_printer_search() which doesn't contact the CUPS server. Jeremy.
* use tdb_wipe_all() instead of tdb_wipe() - it is faster...Michael Adam2008-03-261-1/+1
| | | | Michael
* util_tdb: add a wrapper tdb_wipe() for traverse with tdb_traverse_delete_fn().Michael Adam2008-03-251-1/+1
| | | | | | | Replace all callers of traverse with this tdb_traverse_delete_fn() and don't export tdb_traverse_delete_fn() anymore. Michael
* Some simplificationsVolker Lendecke2008-03-171-7/+3
|
* Coverity fixesMarc VanHeyningen2008-03-171-9/+20
|
* Fix some typos.Karolin Seeger2008-02-081-1/+1
| | | | Karolin
* Adding missing calls to va_end().Tim Potter2008-01-271-0/+4
| | | | | | | | Just a small commit to get a handle on this git thingy. This patch fixes some missing calls to va_end() to match various calls to va_start() and VA_COPY(). Tim.
* strtok -> strtok_rVolker Lendecke2008-01-233-4/+9
|
* Fix a crash bug in nt_printer_publish_adsVolker Lendecke2008-01-161-1/+6
| | | | Reported by Martin Zielinski <mz@seh.de>
* Fix CID 498. Ensure we don't prs_mem_free an uninitializedJeremy Allison2008-01-111-1/+6
| | | | | prs_struct. Jeremy.
* Remove redundant parameter fd from SMB_VFS_FSTAT().Michael Adam2008-01-072-3/+3
| | | | Michael
* Remove redundant parameter fd from SMB_VFS_LSEEK().Michael Adam2008-01-071-4/+4
| | | | Michael
* Refactor the crypto code after a very helpful conversationJeremy Allison2008-01-041-1/+1
| | | | | | with Volker. Mostly making sure we have data on the incoming packet type, not stored in the smb header. Jeremy.
* Remove tiny code duplicationVolker Lendecke2007-12-291-4/+6
| | | | ndr_size_security_descriptor does the same as sec_desc_size
* Remove a globalVolker Lendecke2007-12-281-9/+15
|
* Two more static fstrings gone.Jeremy Allison2007-12-181-12/+43
| | | | Jeremy.
* Remove another static fstring.Jeremy Allison2007-12-181-3/+8
| | | | Jeremy.
* Replace sid_string_static by sid_string_dbg in DEBUGsVolker Lendecke2007-12-151-5/+2
|
* Fix bug leftover from pstring conversion noticed by ceezJeremy Allison2007-12-101-3/+1
| | | | | on irc. Jeremy.
* Tiny simplificationsVolker Lendecke2007-12-101-1/+1
| | | | | | locking.c:open_read_only was unused don't export the silly boolean flag locking_init(bool read_only)
* remove a staticVolker Lendecke2007-12-101-12/+18
|
* Remove next_token - all uses must now be next_token_talloc.Jeremy Allison2007-12-071-55/+113
| | | | | No more temptations to use static length strings. Jeremy.
* printing: remove emtpy print_test.cStefan Metzmacher2007-12-061-0/+0
| | | | metze
* Fix the build. fstrterminate was used in one place.Jeremy Allison2007-12-031-2/+2
| | | | Jeremy.
* Remove unused wpstring and macros. Stop using pstrcpy in smbd/*.cJeremy Allison2007-12-031-1/+1
| | | | Jeremy.
* Change tdb_unpack "P" to return a malloc'ed string ratherJeremy Allison2007-12-032-4/+14
| | | | | | than expect a pstring space to put data into. Fix the (few) callers. Jeremy.
* Remove pstring from srv_spoolss_nt.c. All gone from rpc_server/*.cJeremy Allison2007-11-271-1/+3
| | | | Jeremy.
* Remove some staticsVolker Lendecke2007-11-271-2/+4
|
* Remove pstring from printing/*.c except for theJeremy Allison2007-11-216-249/+396
| | | | | | tdb_unpack requirement (I'll be making that an allocating interface later). Jeremy.
* Remove pstrcpy I missed.Jeremy Allison2007-11-201-1/+0
| | | | Jeremy.
* Remove more pstring. Unify talloc_sub functions to makeJeremy Allison2007-11-192-32/+57
| | | | | | them a better match for replacing string_sub. Remove more unused code. Jeremy.
* More pstring removal. This one was tricky. I had to addJeremy Allison2007-11-151-56/+190
| | | | | | one horror (pstring_clean_name()) which will have to remain until I've removed all pstrings from the client code. Jeremy.
* Fix case where we have no dns domain name. Return a talloc of "".Jeremy Allison2007-11-081-1/+1
| | | | Jeremy.
* Remove more fstring/pstring bad useage. Go talloc !Jeremy Allison2007-11-081-6/+8
| | | | Jeremy.
* Remove most of the remaining globals out of lib/util_sock.c.Jeremy Allison2007-11-032-4/+4
| | | | | | I have a plan for dealing with the remaining..... Watch this space. Jeremy.
* I can't get away without a 'length' arg. :-).Jeremy Allison2007-11-032-2/+2
| | | | Jeremy.
* Stop get_peer_addr() and client_addr() from using globalJeremy Allison2007-11-032-2/+4
| | | | | statics. Part of my library cleanups. Jeremy.