summaryrefslogtreecommitdiffstats
path: root/source/printing
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Avoid freeing fsp twice when opening new_file fails. (Debian #431696)"Karolin Seeger2008-11-171-1/+0
| | | | This reverts commit 7c9a7cb8682156ffb39382a44e3abf40408bff63.
* Revert "Ensure we null out fsp after a close in all paths."Karolin Seeger2008-11-171-1/+0
| | | | This reverts commit a48d591ef5d839159f600a8c7e2966211450c00b.
* Revert "Whitespace cleanup."Karolin Seeger2008-11-171-19/+19
| | | | This reverts commit a2f298883f21c3e9afe686ee393410f2bcb28370.
* Revert "Fix bug #5080. Access to cups-printers via samba broken with cups ↵Karolin Seeger2008-11-171-203/+79
| | | | | | 1.3.4, Unsupported character set." This reverts commit 47161923108222c41db4572b5f44cdb2b6d84a51.
* Revert "Now it's working, back port the aync fix for parsing large cups ↵Karolin Seeger2008-11-173-310/+31
| | | | | | printer lists." This reverts commit f5f7ed4041ef986a5ce208d59bbf39d34373ce71.
* Revert "Fix the build"Karolin Seeger2008-11-171-1/+1
| | | | This reverts commit 916bb3a8dc1ab23e416508cc2ed7a5791540e622.
* Fix the buildVolker Lendecke2008-10-151-1/+1
| | | | (cherry picked from commit 1ab2a5b958a900a078cadf98b83fba7fadbaedf9)
* Now it's working, back port the aync fix for parsing large cups printer lists.Jeremy Allison2008-10-153-31/+310
| | | | | Jeremy. (cherry picked from commit 48ee5a66d18b805d03f93c85e98a41374d82cfb9)
* Fix bug #5080. Access to cups-printers via samba broken with cups 1.3.4, ↵Jeremy Allison2008-10-061-79/+203
| | | | | | | | | | Unsupported character set. Cups 1.3.4 expects utf8 to be used in all messages to/from the server. We may be using a different character set so we need to use talloc utf8 push/pull functions in all communication. Contains the !server fix already applied to 3.3. Jeremy. (cherry picked from commit a1323951a3264f81be07276f021201bee0d8d0f5)
* Whitespace cleanup.Jeremy Allison2008-10-061-19/+19
| | | | | Jeremy. (cherry picked from commit d596f78517f33f5a4c4849be3162d4f3031f045f)
* Ensure we null out fsp after a close in all paths.Jeremy Allison2008-10-061-0/+1
| | | | | Jeremy. (cherry picked from commit 3cba8305bd32c7a83fd9c39eaea953b8a0199b22)
* Avoid freeing fsp twice when opening new_file fails. (Debian #431696)Jelmer Vernooij2008-10-061-0/+1
| | | | | | If opening new_file fails, fsp would still be set to the files_struct of old_file. (cherry picked from commit f75b53f85cbccc4b37db4c9adc0df81a06898d38)
* Allow %u parameters for print job username - use advanced subBo Yang2008-07-181-2/+4
| | | | (cherry picked from commit 11a8f5161184914bec031c741c57bbce19998d2c)
* Fix some scary FC9 warningsVolker Lendecke2008-06-111-39/+41
| | | | (cherry picked from commit 6b0fed09ea34409d1c61bae9121bdb38d4c68d62)
* Fix bug #5095, "Manage Documents privilege is not functional".Jeremy Allison2008-05-071-11/+24
| | | | | | | Should map the created sd to printer jobs, not printer. Confirmed fix by the reporter. Karolin please pull for 3.2-stable. Jeremy. (cherry picked from commit f620182ac41eaf659cf53842df1089ce1f823654)
* Fix from Martin Zielinski <mz@seh.de>. Don't delete files whenJeremy Allison2008-05-051-7/+20
| | | | | | they're in use by other drivers. Jeremy. (cherry picked from commit 205c352caeb32693a02fcfaeb3f18515719ac373)
* Fix CLEAR_IF_FIRST handling of messages.tdbVolker Lendecke2008-04-241-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 :-) (cherry picked from commit 4f4781c6d17fe2db34dd5945fec52a7685448aec)
* printing: call reinit_after_fork() in the backgroundqueue processStefan Metzmacher2008-04-211-0/+5
| | | | | metze (cherry picked from commit 9adb675a86e81c90e2bddfe984b5ac8f201fec75)
* Fix typos.Karolin Seeger2008-04-091-1/+1
| | | | | Karolin (cherry picked from commit 6cee34703503fbf3629057345fe221b866560648)
* Fix bug #5372. With a large CUPS installation with a remote server, contactingJeremy Allison2008-04-071-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. (cherry picked from commit 92d9f20852d5384e92a93dd0b051034718840ca8)
* use tdb_wipe_all() instead of tdb_wipe() - it is faster...Michael Adam2008-03-271-1/+1
| | | | | Michael (cherry picked from commit 3d2fdcd50fdbfb66a14360516836445d47eceeb0)
* util_tdb: add a wrapper tdb_wipe() for traverse with tdb_traverse_delete_fn().Michael Adam2008-03-271-1/+1
| | | | | | | | Replace all callers of traverse with this tdb_traverse_delete_fn() and don't export tdb_traverse_delete_fn() anymore. Michael (cherry picked from commit d4be4e30cd8c3bdc303da30e42280f892a45a8c9)
* Some simplificationsVolker Lendecke2008-03-181-7/+3
| | | | (cherry picked from commit b59b436997fba47afd02ffb6f1194dfaef229d44)
* Coverity fixesMarc VanHeyningen2008-03-181-9/+20
| | | | (cherry picked from commit 3fc85d22590550f0539215d020e4411bf5b14363)
* 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.