1 |
gregzartman |
1.1 |
--- smeserver-adv-samba-0.1.0/root/etc/e-smith/events/actions/winbindd-service-status.winbind2 2008-10-15 01:39:41.000000000 -0700 |
2 |
|
|
+++ smeserver-adv-samba-0.1.0/root/etc/e-smith/events/actions/winbindd-service-status 2008-10-15 01:44:35.000000000 -0700 |
3 |
|
|
@@ -32,9 +32,11 @@ |
4 |
|
|
|
5 |
|
|
exit unless $winbindd; |
6 |
|
|
|
7 |
|
|
-print $domain_role; |
8 |
|
|
- |
9 |
|
|
-$winbindd->set_prop('status','enabled') |
10 |
|
|
- if ($domain_role =~ /DM|ADM/); |
11 |
|
|
+if ($domain_role =~ /DM|ADM/) { |
12 |
|
|
+ $winbindd->set_prop('status','enabled'); |
13 |
|
|
+} |
14 |
|
|
+else { |
15 |
|
|
+ $winbindd->set_prop('status','disabled'); |
16 |
|
|
+} |
17 |
|
|
|
18 |
|
|
exit 0; |