git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
385d925
)
s3: Fix the code to immediately disconnect from a non-working ctdbd
author
Volker Lendecke
<vl@samba.org>
Thu, 3 Dec 2009 00:55:52 +0000
(
01:55
+0100)
committer
Michael Adam
<obnox@samba.org>
Fri, 21 Jan 2011 09:10:02 +0000
(10:10 +0100)
source3/lib/ctdbd_conn.c
patch
|
blob
|
history
diff --git
a/source3/lib/ctdbd_conn.c
b/source3/lib/ctdbd_conn.c
index dee477f3c525f2924d88e6a2e37fc2e5f2b0018b..d2016932c91541ab8ee1c3884b010a51d5668174 100644
(file)
--- a/
source3/lib/ctdbd_conn.c
+++ b/
source3/lib/ctdbd_conn.c
@@
-515,6
+515,7
@@
static NTSTATUS ctdbd_init_connection(TALLOC_CTX *mem_ctx,
if (!ctdbd_working(conn, conn->our_vnn)) {
DEBUG(2, ("Node is not working, can not connect\n"));
+ status = NT_STATUS_INTERNAL_DB_ERROR;
goto fail;
}