Add a tunable "AllowClientDBAttach" with default value 1.
authorMichael Adam <obnox@samba.org>
Fri, 2 Sep 2011 14:42:10 +0000 (16:42 +0200)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Mon, 5 Sep 2011 06:17:39 +0000 (16:17 +1000)
commitddfeecda87955b4e46777599f678e6926d37f4c4
treec95443e6b9e92ad3a613ee8f1ed516d4a2987905
parentcdbc800a776f213cfd0ed543cee85b0d1714a186
Add a tunable "AllowClientDBAttach" with default value 1.

When set to 0, clients will not be able to attach to databases
via the db_attach control. This might can be useful for maintenance
where ctdb should be kept running but clients should not be able
to modify databases.
include/ctdb_private.h
server/ctdb_ltdb_server.c
server/ctdb_tunables.c