1 |
filippocarletti |
1.1 |
diff -Nur -x '*.orig' -x '*.rej' e-smith-ldap-5.2.0/createlinks mezzanine_patched_e-smith-ldap-5.2.0/createlinks |
2 |
|
|
--- e-smith-ldap-5.2.0/createlinks 2010-06-04 00:32:10.000000000 +0200 |
3 |
|
|
+++ mezzanine_patched_e-smith-ldap-5.2.0/createlinks 2010-06-04 00:31:06.000000000 +0200 |
4 |
|
|
@@ -20,6 +20,7 @@ |
5 |
|
|
event_link("ldap-update", "user-lock", "25"); |
6 |
|
|
|
7 |
|
|
event_link("ldap-update", "user-modify", "25"); |
8 |
|
|
+event_link("ldap-update", "user-modify-admin", "25"); |
9 |
|
|
event_link("ldap-update", "group-modify", "25"); |
10 |
|
|
event_link("ldap-update", "password-modify", "25"); |
11 |
|
|
|
12 |
|
|
diff -Nur -x '*.orig' -x '*.rej' e-smith-ldap-5.2.0/root/etc/e-smith/events/actions/ldap-update mezzanine_patched_e-smith-ldap-5.2.0/root/etc/e-smith/events/actions/ldap-update |
13 |
|
|
--- e-smith-ldap-5.2.0/root/etc/e-smith/events/actions/ldap-update 2010-06-04 00:32:10.000000000 +0200 |
14 |
|
|
+++ mezzanine_patched_e-smith-ldap-5.2.0/root/etc/e-smith/events/actions/ldap-update 2010-06-04 00:31:42.000000000 +0200 |
15 |
|
|
@@ -106,7 +106,7 @@ |
16 |
|
|
{ |
17 |
|
|
my $key = $acct->key; |
18 |
|
|
my $type = $acct->prop('type'); |
19 |
|
|
- next unless ($type eq 'user' || $type eq 'group'); |
20 |
|
|
+ next unless ($type eq 'user' || $key eq 'admin' || $type eq 'group'); |
21 |
|
|
my @attrs = (); |
22 |
|
|
my $dn = $base; |
23 |
|
|
if (($type eq 'user') || ($key eq 'admin')) |