/[smeserver]/rpms/e-smith-ldap/sme8/e-smith-ldap-5.2.0-fix-department.patch
ViewVC logotype

Annotation of /rpms/e-smith-ldap/sme8/e-smith-ldap-5.2.0-fix-department.patch

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


Revision 1.1 - (hide annotations) (download)
Tue Nov 30 18:10:29 2010 UTC (13 years, 11 months ago) by slords
Branch: MAIN
CVS Tags: e-smith-ldap-5_2_0-79_el5_sme, e-smith-ldap-5_2_0-81_el5_sme, e-smith-ldap-5_2_0-72_el5_sme, e-smith-ldap-5_2_0-80_el5_sme, e-smith-ldap-5_2_0-76_el5_sme, e-smith-ldap-5_2_0-71_el5_sme, e-smith-ldap-5_2_0-74_el5_sme, e-smith-ldap-5_2_0-77_el5_sme, e-smith-ldap-5_2_0-75_el5_sme, e-smith-ldap-5_2_0-78_el5_sme, e-smith-ldap-5_2_0-70_el5_sme, e-smith-ldap-5_2_0-73_el5_sme, HEAD
* Tue Nov 30 2010 Shad L. Lords <slord@mail.com> 5.2.0-70.sme
- Use correct field (Dept) for ou ldap field [SME: 6417]

1 slords 1.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     }

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