summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronniesahlberg@gmail.com>2011-02-18 10:44:55 +1100
committerRonnie Sahlberg <ronniesahlberg@gmail.com>2011-02-18 11:29:35 +1100
commita453e790502b9871c5f7ea6e54da6fba973e9b9d (patch)
treefe8a93924a77cb7caa9896f60383f708c20d9f87
parent65f44e159f0f93fbbc5ccc0c6164c853ebe2e850 (diff)
downloadsamba-a453e790502b9871c5f7ea6e54da6fba973e9b9d.tar.gz
samba-a453e790502b9871c5f7ea6e54da6fba973e9b9d.tar.xz
samba-a453e790502b9871c5f7ea6e54da6fba973e9b9d.zip
50.samba : Tell winbind about every time we add/remove and ip from the node
CQ S1021636 (This used to be ctdb commit 87b279027616cffbcedfd534ac0032cd51238dfe)
-rwxr-xr-xctdb/config/events.d/50.samba7
1 files changed, 7 insertions, 0 deletions
diff --git a/ctdb/config/events.d/50.samba b/ctdb/config/events.d/50.samba
index a1f99fbb24..415b89f4a6 100755
--- a/ctdb/config/events.d/50.samba
+++ b/ctdb/config/events.d/50.samba
@@ -270,6 +270,13 @@ case "$1" in
}
;;
+ takeip|releaseip)
+ iface=$2
+ ip=$3
+ maskbits=$4
+
+ smbcontrol winbindd ip-dropped $ip >/dev/null 2>/dev/null
+ ;;
*)
ctdb_standard_event_handler "$@"
;;