1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-14 19:24:43 +03:00

26 Commits

Author SHA1 Message Date
Volker Lendecke
d3c689fc5c lib: Use "mem_ctx" arg in gencache_get
Signed-off-by: Volker Lendecke <vl@samba.org>
Signed-off-by: Jeremy Allison <jra@samba.org>

Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Thu Sep  5 20:09:21 CEST 2013 on sn-devel-104
2013-09-05 20:09:21 +02:00
Volker Lendecke
8a7246ac2c lib: Add a "mem_ctx" arg to gencache_get (unused so far)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
2013-09-05 09:16:23 -07:00
Volker Lendecke
4f46ad96f2 s3: Fix Coverity ID 2147, FORWARD_NULL
How could this ever have worked???
2011-03-16 22:07:24 +01:00
Volker Lendecke
77b9b97966 s3: Remove a superfluous ; 2010-09-08 02:05:14 +02:00
Volker Lendecke
50e5f9dc51 s3: Fix some nonempty blank lines 2009-12-26 12:26:06 +01:00
Volker Lendecke
96207912cb s3: Remove unused delete_negative_conn_cache() 2009-12-24 15:24:35 +01:00
Volker Lendecke
ffab1a2318 s3: Remove unused flush_negative_conn_cache() 2009-12-24 15:24:35 +01:00
Volker Lendecke
53bf5f0064 s3: Remove some unnecessary variables from libsmb/conn_cache.c 2009-12-24 15:24:35 +01:00
Volker Lendecke
a3f43e3d86 s3: Fix a comment in conn_cache.c 2009-12-24 15:24:35 +01:00
Volker Lendecke
04210986f1 s3: Fix a 64-bit error 2009-12-24 15:24:35 +01:00
Volker Lendecke
daecb747e4 s3: Remove some pointless SMB_ASSERTs 2009-12-24 15:24:34 +01:00
Volker Lendecke
56f9d18fba s3: Remove some pointless casts 2009-12-24 15:24:34 +01:00
Steven Danneman
304554115a Cleanup of DC enumeration in get_dcs()
This is a fix for a few small inefficiencies/bugs in the get_dcs() path.

* because the third add_one_dc_unique() loop was outside the ADS check all DCs
  returned from the non-sitename lookup were being tacked onto the dc_name_ip
  list twice.
* add_one_dc_unique() now checks if the given IP address already exists before
  adding it to the list, making the returned list actually unique
* added more thorough doxygen comment headers
(This used to be commit cb2d488e1dbd90953c496c5e25d648977884f7e3)
2008-09-04 11:50:25 -07:00
Volker Lendecke
dd30dd2a14 Fix a crash in add_failed_connection_entry
(This used to be commit 2a689aa66af1de3d2e0d08b51e33e9a7015d6cb7)
2008-06-07 08:16:23 +02:00
Volker Lendecke
a191f3d2fe Make the gencache based conncache use talloc_tos()
(This used to be commit f7f912a478af64b07beeb58673b605da0c46db94)
2008-06-07 08:16:23 +02:00
Marc VanHeyningen
d4cbc4408e Negative conn cache uses gencache
(This used to be commit 8765eb8ad7bb978d3bb9c9ff8e557791fdc43009)
2008-06-07 08:16:23 +02:00
Andrew Tridgell
5e54558c6d r23784: use the GPLv3 boilerplate as recommended by the FSF and the license text
(This used to be commit b0132e94fc5fef936aa766fb99a306b3628e9f07)
2007-10-10 12:28:22 -05:00
Jeremy Allison
d824b98f80 r23779: Change from v2 or later to v3 or later.
Jeremy.
(This used to be commit 407e6e695b8366369b7c76af1ff76869b45347b3)
2007-10-10 12:28:20 -05:00
Jeremy Allison
041e49d196 r18533: Ensure we clear out the failed connection cache for an entire
domain when going back online.
Jeremy.
(This used to be commit c7e4c8d0b4d109ec67d4424dd446b74b55246c72)
2007-10-10 11:51:48 -05:00
Gerald Carter
0af1500fc0 r13316: Let the carnage begin....
Sync with trunk as off r13315
(This used to be commit 17e63ac4ed8325c0d44fe62b2442449f3298559f)
2007-10-10 11:06:23 -05:00
Jeremy Allison
4699d4741d r13238: Fix from Qiao Yang <qyang@stbernard.com> to ensure we
always update the failed time when we are adding a failed
connection.
Jeremy.
(This used to be commit 6f5af1dd413d07430ead9382422dda14acf3464d)
2007-10-10 11:06:19 -05:00
Jeremy Allison
acf9d61421 r4088: Get medieval on our ass about malloc.... :-). Take control of all our 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)
2007-10-10 10:53:32 -05:00
Jeremy Allison
f5b4721d6d r1326: Modification to get_dc_list to check negative cache. From "Joe Meadows" <jameadows@webopolis.com>.
Jeremy.
(This used to be commit 4cc38b8aea51b55cc449cd2144f18de7d4819637)
2007-10-10 10:52:06 -05:00
Gerald Carter
2ff85e2f0a fix typo in debug log
(This used to be commit 074da426708555de082d0c2e5ae3a5cddaadcdf4)
2003-07-16 02:51:28 +00:00
Gerald Carter
72876b79c9 * fix typos in a few debug statements
* check negative connection cache before ads_try_connect()
  in ads_find_dc()
(This used to be commit 2a76101a3a31f5fca2f444b25e3f0486f7ef406f)
2003-06-25 19:00:15 +00:00
Gerald Carter
9e2f008bb9 forgot one file
(This used to be commit ef978bd851431da373e005177504dbef2611cf4f)
2003-06-25 18:08:00 +00:00