summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-12-03 01:55:52 +0100
committerMichael Adam <obnox@samba.org>2011-01-21 10:10:02 +0100
commit46a3019d3601e67d2836ea37de4ad1760618f9da (patch)
treee0113486619437b7ef4dae78b50cacd1bb9fc76f
parent385d925f7e0fedca7d480e4f25d89e3194433b88 (diff)
downloadsamba-46a3019d3601e67d2836ea37de4ad1760618f9da.tar.gz
samba-46a3019d3601e67d2836ea37de4ad1760618f9da.tar.bz2
samba-46a3019d3601e67d2836ea37de4ad1760618f9da.zip
s3: Fix the code to immediately disconnect from a non-working ctdbd
-rw-r--r--source3/lib/ctdbd_conn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/lib/ctdbd_conn.c b/source3/lib/ctdbd_conn.c
index dee477f3c5..d2016932c9 100644
--- 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;
}