summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_cache.c
diff options
context:
space:
mode:
authorAndreas Schneider <anschneider@suse.de>2007-11-23 10:54:48 +0100
committerMichael Adam <obnox@samba.org>2007-12-12 13:51:13 +0100
commitd818a93d073f5c15ffbb3b769348d25e49bc9848 (patch)
treeb3a4914bb4c21665ec971adb7562c1e90e751096 /source3/winbindd/winbindd_cache.c
parent38f8d32d10f7486ee570275aff185994697203f3 (diff)
downloadsamba-d818a93d073f5c15ffbb3b769348d25e49bc9848.tar.gz
samba-d818a93d073f5c15ffbb3b769348d25e49bc9848.tar.bz2
samba-d818a93d073f5c15ffbb3b769348d25e49bc9848.zip
Don't restart winbind if a corrupted tdb is found during initialization.
The tdb is validated before it gets initialized. Since then sighandlers changed a restart isn't needed anymore. (This used to be commit aabe9b33fcaed8af98b1ed6b736253e196d87d48)
Diffstat (limited to 'source3/winbindd/winbindd_cache.c')
-rw-r--r--source3/winbindd/winbindd_cache.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_cache.c b/source3/winbindd/winbindd_cache.c
index f3aa0fce42..7ec8208f4b 100644
--- a/source3/winbindd/winbindd_cache.c
+++ b/source3/winbindd/winbindd_cache.c
@@ -3338,8 +3338,7 @@ static void validate_panic(const char *const why)
/***********************************************************************
Try and validate every entry in the winbindd cache. If we fail here,
- delete the cache tdb and return non-zero - the caller (main winbindd
- function) will restart us as we don't know if we crashed or not.
+ delete the cache tdb and return non-zero.
***********************************************************************/
int winbindd_validate_cache(void)