--- smeserver-adv-samba-0.1.0/root/etc/e-smith/events/actions/winbindd-service-status.winbind2 2008-10-15 01:39:41.000000000 -0700 +++ smeserver-adv-samba-0.1.0/root/etc/e-smith/events/actions/winbindd-service-status 2008-10-15 01:44:35.000000000 -0700 @@ -32,9 +32,11 @@ exit unless $winbindd; -print $domain_role; - -$winbindd->set_prop('status','enabled') - if ($domain_role =~ /DM|ADM/); +if ($domain_role =~ /DM|ADM/) { + $winbindd->set_prop('status','enabled'); +} +else { + $winbindd->set_prop('status','disabled'); +} exit 0;