summaryrefslogtreecommitdiffstats
path: root/source3/printing
Commit message (Collapse)AuthorAgeFilesLines
* 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 :-) (This used to be commit 4f4781c6d17fe2db34dd5945fec52a7685448aec)
* printing: call reinit_after_fork() in the backgroundqueue processStefan Metzmacher2008-04-181-0/+5
| | | | | metze (This used to be commit 9adb675a86e81c90e2bddfe984b5ac8f201fec75)
* Fix typos.Karolin Seeger2008-04-091-1/+1
| | | | | Karolin (This used to be commit 6cee34703503fbf3629057345fe221b866560648)
* 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. (This used to be commit 92d9f20852d5384e92a93dd0b051034718840ca8)
* use tdb_wipe_all() instead of tdb_wipe() - it is faster...Michael Adam2008-03-261-1/+1
| | | | | Michael (This used to be commit 3d2fdcd50fdbfb66a14360516836445d47eceeb0)
* 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 (This used to be commit d4be4e30cd8c3bdc303da30e42280f892a45a8c9)
* Some simplificationsVolker Lendecke2008-03-171-7/+3
| | | | (This used to be commit b59b436997fba47afd02ffb6f1194dfaef229d44)
* Coverity fixesMarc VanHeyningen2008-03-171-9/+20
| | | | (This used to be commit 3fc85d22590550f0539215d020e4411bf5b14363)
* Fix some typos.Karolin Seeger2008-02-081-1/+1
| | | | | Karolin (This used to be commit 2bec0a1fb7857e6fb8ec15e5f597b2d4125f105b)
* 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. (This used to be commit ec367f307dff7948722b9ac97beb960efd91991f)
* strtok -> strtok_rVolker Lendecke2008-01-233-4/+9
| | | | (This used to be commit fd34ce437057bb34cdc37f4b066e424000d36789)
* Fix a crash bug in nt_printer_publish_adsVolker Lendecke2008-01-161-1/+6
| | | | | Reported by Martin Zielinski <mz@seh.de> (This used to be commit 4db26c803de52d3efccc940efc55f14131a057f5)
* Fix CID 498. Ensure we don't prs_mem_free an uninitializedJeremy Allison2008-01-111-1/+6
| | | | | | prs_struct. Jeremy. (This used to be commit 7b9d9fba230b9e61079869a6a2751cda37fb8a9e)
* Remove redundant parameter fd from SMB_VFS_FSTAT().Michael Adam2008-01-072-3/+3
| | | | | Michael (This used to be commit 0b86c420be94d295f6917a220b5d699f65b46711)
* Remove redundant parameter fd from SMB_VFS_LSEEK().Michael Adam2008-01-071-4/+4
| | | | | Michael (This used to be commit df929796f2698698d2875227bda8500589cca2df)
* 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. (This used to be commit c4e5a505043965eec77b5bb9bc60957e8f3b97c8)
* Remove tiny code duplicationVolker Lendecke2007-12-291-4/+6
| | | | | ndr_size_security_descriptor does the same as sec_desc_size (This used to be commit bc3bd7a8e7c6e9e27acb195c86abb92c0f53112f)
* Remove a globalVolker Lendecke2007-12-281-9/+15
| | | | (This used to be commit 515f6a8cff7e28b0e98136f3214ef52512cfaf37)
* Two more static fstrings gone.Jeremy Allison2007-12-181-12/+43
| | | | | Jeremy. (This used to be commit 4056bb8645821fba95d6e9ca4d82e2d5084c1e5c)
* Remove another static fstring.Jeremy Allison2007-12-181-3/+8
| | | | | Jeremy. (This used to be commit f9182bbe628cb5f5395a08b2e09d4a282a99d7dc)
* Replace sid_string_static by sid_string_dbg in DEBUGsVolker Lendecke2007-12-151-5/+2
| | | | (This used to be commit bb35e794ec129805e874ceba882bcc1e84791a09)
* Fix bug leftover from pstring conversion noticed by ceezJeremy Allison2007-12-101-3/+1
| | | | | | on irc. Jeremy. (This used to be commit 70950b419a57465c38bb36722644b95b1d14f76d)
* 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) (This used to be commit 2f3c865707010bc7c463a02782dbee3dc2479da1)
* remove a staticVolker Lendecke2007-12-101-12/+18
| | | | (This used to be commit 0006b14d38b80562458b37f616c9b68a3168fe64)
* 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. (This used to be commit ec003f39369910dee852b7cafb883ddaa321c2de)
* printing: remove emtpy print_test.cStefan Metzmacher2007-12-061-0/+0
| | | | | metze (This used to be commit 178afff8791992aee78869f17458dca0956bc116)
* Fix the build. fstrterminate was used in one place.Jeremy Allison2007-12-031-2/+2
| | | | | Jeremy. (This used to be commit 0ccd87c56b34bdc34c73d700d21544fe269f9141)
* Remove unused wpstring and macros. Stop using pstrcpy in smbd/*.cJeremy Allison2007-12-031-1/+1
| | | | | Jeremy. (This used to be commit e72bce5b62fb0a9d0ff4a3d76490219994f303cf)
* 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. (This used to be commit 7722a7d2c63f84b8105aa775b39f0ceedd4ed513)
* Remove pstring from srv_spoolss_nt.c. All gone from rpc_server/*.cJeremy Allison2007-11-271-1/+3
| | | | | Jeremy. (This used to be commit b5a2a1e3f82a0d319fc9a1d76f5166150680f4d4)
* Remove some staticsVolker Lendecke2007-11-271-2/+4
| | | | (This used to be commit 1fab16ffb888cd4ec18e52d9da33976a67a5d104)
* 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. (This used to be commit d2ee75326ac291ab4f1860075ba35f58703c7d9d)
* Remove pstrcpy I missed.Jeremy Allison2007-11-201-1/+0
| | | | | Jeremy. (This used to be commit f5701756154e4e113414d8dd6c850685a2594801)
* 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. (This used to be commit ae7885711f504f1442335f09088cbe149a7e00f9)
* 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. (This used to be commit 1ea3ac80146b83c2522b69e7747c823366a2b47d)
* Fix case where we have no dns domain name. Return a talloc of "".Jeremy Allison2007-11-081-1/+1
| | | | | Jeremy. (This used to be commit ab8934844a8ae08657769ce1787c32f14a7eb745)
* Remove more fstring/pstring bad useage. Go talloc !Jeremy Allison2007-11-081-6/+8
| | | | | Jeremy. (This used to be commit 2a0173743d2cf615d52278f3dd87cc804abe2d16)
* 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. (This used to be commit 963fc7685212689f02b3adcc05b4273ee5c382d4)
* I can't get away without a 'length' arg. :-).Jeremy Allison2007-11-032-2/+2
| | | | | Jeremy. (This used to be commit 95d01279a5def709d0a5d5ae7224d6286006d120)
* Stop get_peer_addr() and client_addr() from using globalJeremy Allison2007-11-032-2/+4
| | | | | | statics. Part of my library cleanups. Jeremy. (This used to be commit e848506c858bd16706c1d7f6b4b032005512b8ac)
* Patch 2 of 3 from Debian Samba packagers:Gerald (Jerry) Carter2007-11-011-6/+6
| | | | | | | | | | | | | | | | | | The point is doing the following associations: - non discardable state data (all TDB files that may need to be backed up) go to statedir - shared data (codepage stuff) go to codepagedir The patch *does not change* the default location for these directories. So, there is no behaviour change when applying it. The main change is for samba developers who have to think when dealing with files that previously pertained to libdir whether they: - go in statedir - go in codepagedir - stay in libdir (This used to be commit d6cdbfd875bb2653e831d314726c3240beb0a96b)
* RIP BOOL. Convert BOOL -> bool. I found a few interestingJeremy Allison2007-10-1811-109/+109
| | | | | | | | 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)
* remove unused print_test.c codeStefan Metzmacher2007-10-131-81/+0
| | | | | metze (This used to be commit 9e5ad21e6793981a01f63f2de1c4d496ade0bb54)
* Add const to the get_peer_addr() and get_socket_addr()Jeremy Allison2007-10-112-3/+3
| | | | | | calls. Use the IPv6 varient for get_peer_addr(). Jeremy. (This used to be commit baf1f52e34ae2465a7a34be1065da29ed97e7bea)
* r25534: Apply some constVolker Lendecke2007-10-101-4/+4
| | | | | | | Why? It moves these structs from the data into the text segment, so they will never been copy-on-write copied. Not much, but as in German you say "Kleinvieh macht auch Mist...." (This used to be commit 0141e64ad4972232de867137064d0dae62da22ee)
* r25399: Excise uint - > uint32 (where appropriate) or unsigned int.Jeremy Allison2007-10-101-1/+1
| | | | | Jeremy. (This used to be commit b4ee924000f4a21b16a70e08e58331d209c4d114)
* r25294: Tidy up callers of unistr2_to_ascii() to pass sizeof(target_area) toMichael Adam2007-10-101-5/+5
| | | | | | | | | | the maxeln parameter instead of sizeof(target_area) - 1 (or even sizeof(fstring) - 1 in some places. I hope these were really all there were. Michael (This used to be commit 9a28be220df622322857dfe102fa35e108f932dc)
* r25138: More pstring elimination. Add a TALLOC_CTX parameterJeremy Allison2007-10-101-1/+1
| | | | | | to unix_convert(). Jeremy. (This used to be commit 39c211a702e91c34c1a5a689e1b0c4530ea8a1ac)
* r25117: The mega-patch Jerry was waiting for. Remove all pstrings fromJeremy Allison2007-10-101-5/+6
| | | | | | | | | the main server code paths. We should now be able to cope with paths up to PATH_MAX length now. Final job will be to add the TALLOC_CTX * parameter to unix_convert to make it explicit (for Volker). Jeremy. (This used to be commit 7f0db75fb0f24873577dcb758a2ecee74fdc4297)
* r25009: Large patch discussed with Volker. Move unix_convert to a talloc-basedJeremy Allison2007-10-101-17/+22
| | | | | | | interface. More development will come on top of this. Remove the "mangled map" parameter. Jeremy. (This used to be commit dee8beba7a92b8a3f68bbcc59fd0a827f68c7736)