summaryrefslogtreecommitdiffstats
path: root/ctdb/config/ctdb.sysconfig
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2008-07-15 11:03:35 +1000
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2008-07-15 11:03:35 +1000
commit9a9b506d23c0bc8d5fe592c638f9ad02485f4aef (patch)
treee82462c50b4e9a2e9c481434a8daeeb8891d8f8a /ctdb/config/ctdb.sysconfig
parent0934f40c2af94db6591193b5c70546d0c4156a30 (diff)
downloadsamba-9a9b506d23c0bc8d5fe592c638f9ad02485f4aef.tar.gz
samba-9a9b506d23c0bc8d5fe592c638f9ad02485f4aef.tar.xz
samba-9a9b506d23c0bc8d5fe592c638f9ad02485f4aef.zip
Add two new options
CTDB_SAMBA_SKIP_CONF_CHECK and CTDB_SAMBA_CHECK_PORTS. The first is used to tell ctdb to no longer monitoring if the smb.conf file is consistent or not. The second specifies which ports to check that smb is listening on instead of using testparm to figure this out. Since the net, testparm and smbstatus may block indefinitely in some configurations we must have a way to configure ctdb to NOT use any of these three commands in the scripts. These commands should thus never be used in scripts. Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com> (This used to be ctdb commit 2fe52c7979ecd28250ec4ac195d3c3999916e573)
Diffstat (limited to 'ctdb/config/ctdb.sysconfig')
-rw-r--r--ctdb/config/ctdb.sysconfig7
1 files changed, 7 insertions, 0 deletions
diff --git a/ctdb/config/ctdb.sysconfig b/ctdb/config/ctdb.sysconfig
index 9084f8eb8d..84a90d0609 100644
--- a/ctdb/config/ctdb.sysconfig
+++ b/ctdb/config/ctdb.sysconfig
@@ -47,6 +47,13 @@
# since checking each one of them might take a long time.
# CTDB_SAMBA_SKIP_SHARE_CHECK="yes"
+# should we skip checking smb.conf for consistency
+# CTDB_SAMBA_SKIP_CONF_CHECK="yes"
+
+# specify which ports we should check that there is a daemon listening to
+# by default we use testparm and look in smb.conf to figure out.
+# CTDB_SAMBA_CHECK_PORTS="445"
+
# should ctdb manage starting/stopping Winbind service?
# if left comented out then it will be autodetected based on smb.conf
# CTDB_MANAGES_WINBIND=yes