1 |
filippocarletti |
1.1 |
diff -Naur e-smith-ldap-5.2.0.orig/root/etc/e-smith/events/actions/ldap-update e-smith-ldap-5.2.0/root/etc/e-smith/events/actions/ldap-update |
2 |
|
|
--- e-smith-ldap-5.2.0.orig/root/etc/e-smith/events/actions/ldap-update 2010-04-30 17:18:31.596869272 +0200 |
3 |
|
|
+++ e-smith-ldap-5.2.0/root/etc/e-smith/events/actions/ldap-update 2010-04-30 17:20:06.764160119 +0200 |
4 |
|
|
@@ -67,6 +67,8 @@ |
5 |
|
|
die "Account $userName not found.\n" unless defined $account; |
6 |
|
|
my $type = $account->prop('type') || "unknown"; |
7 |
|
|
|
8 |
|
|
+ exit (0) if ($type eq 'ibay'); |
9 |
|
|
+ |
10 |
|
|
die "Account $userName is not a user or group account; " . |
11 |
|
|
"update LDAP entry failed.\n" |
12 |
|
|
unless (($type eq 'user') || ($type eq 'group') || ($userName eq 'admin')); |