summaryrefslogtreecommitdiff
path: root/source3/utils/net_cache.c
AgeCommit message (Collapse)AuthorFilesLines
2013-09-05lib: Add "mem_ctx" to gencache_get_data_blobVolker Lendecke1-1/+1
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2011-06-14s3-utils: fix crash in net cache getChristian Ambach1-1/+1
free the blob correctly Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Tue Jun 14 12:01:59 CEST 2011 on sn-devel-104
2010-11-28s3: Properly print binary values "net cache"Volker Lendecke1-7/+21
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Nov 28 15:03:26 CET 2010 on sn-devel-104
2010-11-27s3: Use localtime_r, libreplace defines itVolker Lendecke1-11/+9
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sat Nov 27 20:50:27 CET 2010 on sn-devel-104
2010-01-19s3 net: Fix compile warningsKai Blin1-12/+25
2010-01-18s3/net: split up some printable stings to ease i18nBjörn Jacke1-10/+11
If we put strings like "Usage:" into separate _() macros and not the whole "Usage:..." string we can cover much more messages by only one single translation. The drawback is that the message in the sources looks less pretty.
2009-07-29s3 net: i18n support for net cacheKai Blin1-49/+51
2009-07-15Make gencache more stableVolker Lendecke1-0/+23
This provides a compromise between stability and performance: gencache is a persistent database these days that for performance reasons can not use tdb transactions for all writes. This patch splits up gencache into gencache.tdb and gencache_notrans.tdb. gencache_notrans is used with CLEAR_IF_FIRST, writes to it don't use transactions. By default every 5 minutes and when a program exits, all entries from _notrans.tdb are transferred to gencache.tdb in one transaction.
2009-07-15Remove gencache_init/shutdownVolker Lendecke1-4/+0
gencache_get/set/del/iterate call gencache_init() internally anyway. And we've been very lazy calling gencache_shutdown, so this seems not really required.
2009-02-10S3: Fixes for coverity issues.todd stecher1-1/+2
2008-12-31Fix all warnings in source3 with gcc4.3.Jeremy Allison1-3/+2
Jeremy.
2008-07-11Revert "Return timed out entries from gencache_get if timeout param != NULL"Volker Lendecke1-2/+1
This reverts commit 2954b2be563149380e1fae7fe088b98d6cbd42e7. (This used to be commit 77ab2fb306a7ad59447a3e1591c2af03447e09c5)
2008-07-03Return timed out entries from gencache_get if timeout param != NULLVolker Lendecke1-1/+2
net cache get was the only one interested in the timeout. That single caller can take care of the timeout itself then. With this API change idmap_cache.c can be converted to gencache. (This used to be commit 2954b2be563149380e1fae7fe088b98d6cbd42e7)
2008-06-10net: Rename functable3 to functable, get rid of old functablesKai Blin1-2/+2
(This used to be commit bb7c5fc4ec77db4073d3beccf12af12910b6bd07)
2008-06-10net: Make "net cache" use functable3Kai Blin1-33/+75
(This used to be commit 60ac59fb8a391989f2c2e25b288674e6cc63ae60)
2008-05-10net: more whitespace cleanupKai Blin1-30/+30
(This used to be commit ef0184d580500734fc7af51e1c790b075180a3d0)
2008-05-10net: Remove globalsKai Blin1-11/+19
(This used to be commit 1e9319cf88b65a2a8d4f5099a1fe5297e405ed2e)
2007-10-10r23784: use the GPLv3 boilerplate as recommended by the FSF and the license textAndrew Tridgell1-2/+1
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10r23779: Change from v2 or later to v3 or later.Jeremy Allison1-1/+1
Jeremy. (This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10r18310: Add a little test for some gencache routinesVolker Lendecke1-43/+0
Remove unused gencache_set_only Use CONST_DISCARD instead of SMB_STRDUP Volker (This used to be commit 651e7e44e2e56eab81c5fe708f33e6d3918a39f9)
2007-10-10r16267: Fix Klocwork #401, #402 - ensure format specifierJeremy Allison1-1/+8
limited. Fix memleak in printing gencache contents. Jeremy. (This used to be commit 81731e1f68cdf4af80733338238aeae0a7d108c0)
2007-10-10r16230: Fix Klocwork #861 and others. localtime and asctimeJeremy Allison1-7/+19
can return NULL. Ensure we check all returns correctly. Jeremy. (This used to be commit 6c61dc8ed6d84f310ef391fb7700e93ef42c4afc)
2007-10-10r12986: Use d_fprintf(stderr, ...) for any error message in net.Lars Müller1-7/+7
All 'usage' messages are still printed to stdout. Fix some compiler warnings for system() calls where we didn't used the return code. Add appropriate error messages and return with the error code we got from system() or NT_STATUS_UNSUCCESSFUL. (This used to be commit f650e3bdafc4c6bcd7eb4bcf8b6b885b979919eb)
2007-10-10r4088: Get medieval on our ass about malloc.... :-). Take control of all our ↵Jeremy Allison1-1/+1
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)
2003-07-29Typo fix for bug 258.Tim Potter1-1/+1
(This used to be commit a4e342c20cbddbb4d9d6ac49258457751146d890)
2003-07-10Just a few formatting fixed caught while testing.Rafal Szczesniak1-1/+1
rafal (This used to be commit 156554738cf4e4ffa5a811d9979acd19418e7908)
2003-01-04Merge from HEAD - mimir's new gencache based namecache code.Andrew Bartlett1-18/+38
Andrew Bartlett (This used to be commit f79324f730c400342f445c931b0d75ff756d7cc7)
2002-09-11added gencache implementation from mimir - thanks!Andrew Tridgell1-0/+328
(This used to be commit 05a202c287f5daeb1ccbaf9479aa93e7928e93db)