summaryrefslogtreecommitdiffstats
path: root/source3/lib/gencache.c
Commit message (Collapse)AuthorAgeFilesLines
* r16290: Fix Coverity bugs 298 and 298Volker Lendecke2007-10-101-4/+4
| | | | (This used to be commit b96808bb623c01f2515fdbdede8b4e9edebff23b)
* r16267: Fix Klocwork #401, #402 - ensure format specifierJeremy Allison2007-10-101-15/+59
| | | | | | limited. Fix memleak in printing gencache contents. Jeremy. (This used to be commit 81731e1f68cdf4af80733338238aeae0a7d108c0)
* r15101: Little step towards getting Samba4 tdb into 3: tdb_lock_bystring ↵Volker Lendecke2007-10-101-1/+1
| | | | | | | | | | does not have the timeout argument in Samba4. Add a new routine tdb_lock_bystring_with_timeout. Volker (This used to be commit b9c6e3f55602fa505859a4b2cd137b74105d685f)
* r13310: first round of server affinity patches for winbindd & net ads joinGerald Carter2007-10-101-11/+9
| | | | (This used to be commit 6c3480f9aecc061660ad5c06347b8f1d3e11a330)
* r12912: patch from Tony Mountifield <tony@softins.co.uk> for BUG 3327 (fix ↵Gerald Carter2007-10-101-1/+4
| | | | | | bad access to gencache.tdb after fork() in smbmount (This used to be commit 68399ce04ca4509d51950d2d7b1ed817e82bf17c)
* r10656: BIG merge from trunk. Features not copied overGerald Carter2007-10-101-2/+14
| | | | | | | | * \PIPE\unixinfo * winbindd's {group,alias}membership new functions * winbindd's lookupsids() functionality * swat (trunk changes to be reverted as per discussion with Deryck) (This used to be commit 939c3cb5d78e3a2236209b296aa8aba8bdce32d3)
* r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison2007-10-101-12/+11
| | | | | | | | | | allocation functions so we can funnel through some well known functions. Should help greatly with malloc checking. HEAD patch to follow. Jeremy. (This used to be commit 620f2e608f70ba92f032720c031283d295c5c06a)
* Always call the auto-init funciton - this avoids tdb segfaulting underAndrew Bartlett2004-01-051-0/+6
| | | | | | | us if we failed to open it earlier. Andrew Bartlett (This used to be commit 379368b0bec1f57cc5302b274362ce2f1df0fd9d)
* Reformat debug.Tim Potter2003-09-081-4/+5
| | | | (This used to be commit 3aab7a3bc7920b6e479700c176ac7a7b80262f42)
* Different fix for memleak just committed. This belongs intoVolker Lendecke2003-07-011-2/+0
| | | | | | | tdb_search_list_free. Volker (This used to be commit 0f3822c8e71426983b960ad49511efa8707159f9)
* Fix two memory leaks. tdb_search_keys allocates space for the keyVolker Lendecke2003-07-011-0/+2
| | | | | | | | | | | strings. Running 'net cache list' or secrets_get_trusted_domains through valgrind gives a *huge* amount of invalid reads of one byte beyond the indicated string length in libc's strncpy. Annoying... Volker (This used to be commit 0f8933ae778064ff58cdc832ce52c843631435bb)
* Fix a segfault found by metze & valgrind...Volker Lendecke2003-07-011-3/+5
| | | | | | | Don't overwrite past the end of a string. Volker (This used to be commit f036368efdcbe576552ea85a78e5e6199a2b2c6d)
* * fix the trustdom_cache to work when winbindd is not running.Gerald Carter2003-07-011-0/+21
| | | | | | smbd will update the trustdom_cache periodically after locking the timestamp key (This used to be commit 7bc4b65b91f98271089335cc301146d5f0c76c3a)
* Merge of doxygen updates from HEAD.Tim Potter2003-04-141-14/+14
| | | | (This used to be commit 6d7baad38fbdf0921c1d5eb59004c65cfe110975)
* (merge from HEAD) Valgrind found some memory leaks!Andrew Bartlett2003-03-221-0/+4
| | | | (This used to be commit 8315b9c3119dde62aeb72ad5e20f63aee89abd0b)
* (merge from HEAD)Andrew Bartlett2003-03-221-6/+6
| | | | | | | | | | | | | | | | Small clenaup patches: - safe_string.h - don't assume that __FUNCTION__ is available - process.c - use new workaround from safe_string.h for the same - util.c - Show how many bytes we smb_panic()ed trying to smb_xmalloc() - gencache.c - Keep valgrind quiet by always null terminating. - clistr.c - Add copyright - srvstr.h - move srvstr_push into a .c file again, as a real function. - srvstr.c - revive, with 'safe' checked srvstr_push - loadparm.c - set a default for the display charset. - connection.c - use safe_strcpy() Andrew Bartlett (This used to be commit c91e76bddbe1244ddc8d12b092eba875834029ac)
* Merge cleanups of return values.Tim Potter2003-02-191-5/+5
| | | | (This used to be commit bae354a20c07458722b5193911e7eaaf9bfbaeb7)
* Merge of nicer error message for gencache open error from HEAD.Tim Potter2003-02-121-1/+1
| | | | (This used to be commit 23ca54000514d400c81950edb556ef4308a88253)
* sync with tpot's change to gencache_get() in HEADGerald Carter2003-01-241-22/+31
| | | | (This used to be commit 305f167db2a34cdf3dd6378954e815ce34111232)
* masking an assert error in Tim's wins server checking code; needs a proper ↵Gerald Carter2003-01-241-0/+11
| | | | | | fix after I talk to tpot (This used to be commit 607bc0b4fca38640c6b5c730aa4119e2aa9006fc)
* Merge from HEAD - whitespace :-)Andrew Bartlett2003-01-041-0/+1
| | | | (This used to be commit 5fc90b6cf438480c9fcf8d01f0a319a52c5914cc)
* Merge from HEAD - mimir's new gencache based namecache code.Andrew Bartlett2003-01-041-13/+12
| | | | | Andrew Bartlett (This used to be commit f79324f730c400342f445c931b0d75ff756d7cc7)
* Lots of fixes for error paths where tdb_fetch() data need freeing.Jeremy Allison2002-11-231-4/+10
| | | | | | Found via a post from Arcady Chernyak <Arcady.Chernyak@efi.com>. Jeremy. (This used to be commit 5d5762d1787db4392d2dff16024097c638b2d494)
* added gencache implementation from mimir - thanks!Andrew Tridgell2002-09-111-0/+319
(This used to be commit 05a202c287f5daeb1ccbaf9479aa93e7928e93db)