/[smeserver]/rpms/e-smith-base/sme7/e-smith-base-5.0.0-ibay_groups.patch
ViewVC logotype

Contents of /rpms/e-smith-base/sme7/e-smith-base-5.0.0-ibay_groups.patch

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


Revision 1.1 - (show annotations) (download)
Mon Sep 27 20:35:43 2010 UTC (14 years, 2 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-base-5_0_0-15_el4_sme, e-smith-base-5_0_0-16_el4_sme, e-smith-base-5_0_0-17_el4_sme, HEAD
* Mon Sep 27 2010 Shad L. Lords <slords@mail.com> 5.0.0-15.sme
- Add ibay groups to group membership [SME: 6248]

1 diff -up e-smith-base-5.0.0/root/etc/e-smith/events/actions/group-modify-unix.ibay_groups e-smith-base-5.0.0/root/etc/e-smith/events/actions/group-modify-unix
2 --- e-smith-base-5.0.0/root/etc/e-smith/events/actions/group-modify-unix.ibay_groups 2005-11-20 21:28:05.000000000 -0700
3 +++ e-smith-base-5.0.0/root/etc/e-smith/events/actions/group-modify-unix 2010-09-27 14:34:35.000000000 -0600
4 @@ -71,6 +71,9 @@ foreach my $group (@groups)
5 my @oldMembers = split (/\s+/, $members);
6 my @newMembers = split (/,/, $properties {'Members'});
7
8 + # Add in ibay group membership
9 + push @newMembers, (map { $_->key } $a->get_all_by_prop(Group => $groupName));
10 +
11 # "admin" and "www" are implicit members of all groups
12 push @newMembers, qw(www admin);
13

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