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:16:52 +0000 (16:16 +1000)
commit9bdc5e5b2a00f3846a0d08d04fcf0c4be7689495
treefdd57aa9b14343340dad57d067715544051734fd
parentc6681143214bae55713f7ff694ce2e278377750b
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