Add a tunable "AllowClientDBAttach" with default value 1.
authorMichael Adam <obnox@samba.org>
Fri, 2 Sep 2011 14:42:10 +0000 (16:42 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 21 Nov 2014 07:12:51 +0000 (08:12 +0100)
commit4406978c85dcd7a6bce1b161b55df3572d6bdaab
tree4c719ba97cfe1c597be8f64fe52db3401a84fffd
parent9236a67042c02cacdcddc8f3d8fd11e16a37d6cf
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.

(cherry picked from commit ddfeecda87955b4e46777599f678e6926d37f4c4)

Conflicts:
include/ctdb_private.h
server/ctdb_ltdb_server.c
server/ctdb_tunables.c
include/ctdb_private.h
server/ctdb_ltdb_server.c
server/ctdb_tunables.c