/[smecontribs]/rpms/smeserver-adv-samba/contribs7/smeserver-adv-samba-0.1.0-winbind2.patch
ViewVC logotype

Contents of /rpms/smeserver-adv-samba/contribs7/smeserver-adv-samba-0.1.0-winbind2.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Wed Oct 15 08:49:45 2008 UTC (16 years, 1 month ago) by gregzartman
Branch: MAIN
CVS Tags: smeserver-adv-samba-0_1_0-4_el4_sme, smeserver-adv-samba-0_1_0-5_el4_sme
Update winbindd-service-status action to account for disabled service state

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;

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed