50.samba : Tell winbind about every time we add/remove and ip from the node
authorRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 17 Feb 2011 23:44:55 +0000 (10:44 +1100)
committerRonnie Sahlberg <ronniesahlberg@gmail.com>
Thu, 17 Feb 2011 23:44:55 +0000 (10:44 +1100)
CQ S1021636

config/events.d/50.samba

index a1f99fbb248cf7460ccd72d04a4721267e2def6f..415b89f4a6efff614e851db8e3337ae027b827d3 100755 (executable)
@@ -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 "$@"
        ;;