1 |
diff -up e-smith-ldap-5.2.0/root/etc/e-smith/events/actions/ldap-update.fix-department e-smith-ldap-5.2.0/root/etc/e-smith/events/actions/ldap-update |
2 |
--- e-smith-ldap-5.2.0/root/etc/e-smith/events/actions/ldap-update.fix-department 2010-11-30 11:07:32.000000000 -0700 |
3 |
+++ e-smith-ldap-5.2.0/root/etc/e-smith/events/actions/ldap-update 2010-11-30 11:09:09.000000000 -0700 |
4 |
@@ -56,7 +56,7 @@ my $map = { 'FirstName' => 'givenName', |
5 |
'LastName' => 'sn', |
6 |
'Phone' => 'telephoneNumber', |
7 |
'Company' => 'o', |
8 |
- 'Department' => 'ou', |
9 |
+ 'Dept' => 'ou', |
10 |
'City' => 'l', |
11 |
'Street' => 'street', |
12 |
}; |
13 |
diff -up e-smith-ldap-5.2.0/root/etc/e-smith/templates/home/e-smith/db/ldap/ldif/template-begin.fix-department e-smith-ldap-5.2.0/root/etc/e-smith/templates/home/e-smith/db/ldap/ldif/template-begin |
14 |
--- e-smith-ldap-5.2.0/root/etc/e-smith/templates/home/e-smith/db/ldap/ldif/template-begin.fix-department 2010-11-30 11:07:32.000000000 -0700 |
15 |
+++ e-smith-ldap-5.2.0/root/etc/e-smith/templates/home/e-smith/db/ldap/ldif/template-begin 2010-11-30 11:09:12.000000000 -0700 |
16 |
@@ -71,7 +71,7 @@ |
17 |
$ldif->{$dn}->{sn} = $account->prop('LastName') || ''; |
18 |
$ldif->{$dn}->{telephoneNumber} = $account->prop('Phone') || ''; |
19 |
$ldif->{$dn}->{o} = $account->prop('Company') || ''; |
20 |
- $ldif->{$dn}->{ou} = $account->prop('Department') || ''; |
21 |
+ $ldif->{$dn}->{ou} = $account->prop('Dept') || ''; |
22 |
$ldif->{$dn}->{l} = $account->prop('City') || ''; |
23 |
$ldif->{$dn}->{street} = $account->prop('Street') || ''; |
24 |
} |